:root {
    --account-surface: var(--surface);
    --main: #063755;
    --login: #063755;
    --font: #063755;
    --menu-background: #063755;
    --menu-background-gradient: #2b5799;
    --main-gradient: #2b5799;
    --login-gradient: #063755;
    /* BI Pallete. */
    --bi-chart-1: #063755;
    --bi-chart-2: #CD2027;
    --bi-chart-3: #007C91;
    --bi-chart-4: #18864B;
    --bi-chart-5: #C88A00;
    --bi-chart-6: #D95F02;
    --bi-chart-7: #3547A8;
    --bi-chart-8: #6338A5;
    --bi-chart-9: #A61E5C;
    --bi-chart-10: #0057B8;
    --surface: #ffffff;
    --home-count-background: #D4383E;
    --text-muted: #637286;
    --border: #d8e0ea;
    /* Input boundaries stay visible against both white panels and the login glass. */
    --editor-border: color-mix(in srgb, var(--text-muted) 80%, var(--surface));
    --editor-border-hover: color-mix(in srgb, var(--main) 65%, var(--surface));
    --page-background: #f4f7fb;
    --error-text: #a52c2c;
    --success-text: #276950;
    --warning-text: #815d14;
    /* Shared shades and transparency automatically follow the base palette. */
    --text: var(--font);
    --clear: transparent;
    --menu-accent: color-mix(in srgb, var(--menu-background) 45%, var(--surface));
    --primary-hover: color-mix(in srgb, var(--main) 85%, #000000);
    --accent-surface: color-mix(in srgb, var(--main) 8%, var(--surface));
    --accent-soft: color-mix(in srgb, var(--main) 45%, var(--surface));
    --on-brand-muted: color-mix(in srgb, var(--login) 20%, var(--surface));
    --on-brand-divider: color-mix(in srgb, var(--surface) 38%, transparent);
    --panel-header-background: linear-gradient(to right, var(--main), color-mix(in srgb, var(--main-gradient) 75%, var(--main)));
    --menu-background-color: linear-gradient(160deg, color-mix(in srgb, var(--menu-background) 75%, var(--menu-background-gradient)) 0%, var(--menu-background) 70%);
    --navigation-selected: color-mix(in srgb, var(--surface) 9%, transparent);
    --navigation-divider: color-mix(in srgb, var(--surface) 14%, transparent);
    --container-radius: 18px;
    --container-shadow: 0 3px 10px color-mix(in srgb, var(--main) 8%, transparent);
    --container-inner-radius: 17px;
    --shadow-soft: color-mix(in srgb, var(--main) 15%, transparent);
    --modal-backdrop: color-mix(in srgb, var(--main) 50%, transparent);
    --login-background-gradient: linear-gradient(90deg, color-mix(in srgb, var(--login-gradient) 80%, transparent), color-mix(in srgb, var(--login-gradient) 33%, transparent) 60%, color-mix(in srgb, var(--login-gradient) 15%, transparent));
    /* Login panel: translucent layers and the quiet architectural pattern. */
    --login-glass-top: color-mix(in srgb, var(--surface) 72%, transparent);
    --login-glass-bottom: color-mix(in srgb, color-mix(in srgb, var(--login) 15%, var(--surface)) 68%, transparent);
    --login-glass-glow: color-mix(in srgb, var(--surface) 40%, transparent);
    --login-glass-tint: color-mix(in srgb, var(--login) 12%, transparent);
    --login-paper-light: color-mix(in srgb, var(--surface) 45%, transparent);
    --login-paper-shade: color-mix(in srgb, var(--login) 10%, transparent);
    --login-pattern: color-mix(in srgb, var(--login) 20%, transparent);
    --glass-border: color-mix(in srgb, var(--surface) 74%, transparent);
    --glass-start: color-mix(in srgb, var(--surface) 80%, transparent);
    --glass-end: color-mix(in srgb, var(--accent-surface) 72%, transparent);
    --error-background: color-mix(in srgb, var(--error-text) 5%, var(--surface));
    --success-background: color-mix(in srgb, var(--success-text) 9%, var(--surface));
    --warning-background: color-mix(in srgb, var(--warning-text) 10%, var(--surface));
    --dxds-border-radius-10: 14px;
    --dxds-border-radius-20: 6px;
    --dxds-border-radius-30: 18px;
    --dxds-border-radius-40: var(--container-radius);
    --dxds-border-radius-50: 12px;
    --dxds-border-radius-60: 14px;
    --dxds-border-radius-80: 18px;
    --dxds-border-radius-100: 22px;
    --dxds-border-radius-120: 28px;
    --dxds-border-radius-160: 36px;
}

/* Sigma brand and page defaults. DevExpress controls use the Fluent theme. */
:root {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--page-background);
    font-synthesis: none;
    line-height: 1.5;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
body { min-width: 280px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
/* Low-specificity defaults preserve application links without overriding DevExpress states. */
:where(a, a:visited, a:hover, a:active, a:focus) {
    color: var(--link-color, var(--font));
    text-decoration: none;
}
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 4px; }
h1:focus { outline: none; }

.primary-button {
    --link-color: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid var(--main);
    border-radius: var(--container-radius);
    color: var(--surface);
    background: var(--main);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


.primary-button:hover { background:var(--primary-hover);border-color:var(--primary-hover);color:var(--surface);text-decoration:none; }
.secondary-button:hover { background:var(--accent-surface);color:var(--font);text-decoration:none; }
.primary-button:focus-visible,.secondary-button:focus-visible { outline:2px solid var(--main);outline-offset:3px; }

#blazor-error-ui { display: none; position: fixed; inset: auto 0 0; z-index: 1000; padding: 16px 48px 16px 24px; color: var(--font); background: var(--accent-surface); border-top: 1px solid var(--border); }
#blazor-error-ui .dismiss { position: absolute; right: 16px; top: 8px; border: 0; background: var(--clear); color: inherit; font-size: 24px; }

/* Language selector: understated control shared by login and workspace. */
.language-selector { position: relative; display: inline-flex; flex-shrink: 0; margin: 0; color: var(--font); }
.language-trigger { anchor-name: --language-trigger; position: relative; z-index: 62; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 7px 10px; font: inherit; font-size: 12px; font-weight: 500; border: 1px solid var(--clear); border-radius: 4px; background: var(--clear); color: var(--font); cursor: pointer; transition: background-color 140ms ease, border-color 140ms ease; }
.language-trigger:hover, .language-selector:has(.language-options:popover-open) .language-trigger { background: var(--accent-surface); border-color: var(--border); }
.language-trigger:disabled { cursor: default; }
.language-symbol { width: 17px; height: 17px; color: var(--text-muted); }
.language-chevron { width: 16px; height: 16px; color: var(--text-muted); transition: transform 140ms ease; }
.language-selector:has(.language-options:popover-open) .language-trigger .language-chevron { transform: rotate(180deg); }
.language-options { position: fixed; position-anchor: --language-trigger; inset: auto; top: anchor(bottom); right: anchor(right); margin-top: 6px; z-index: 63; width: 280px; max-width: calc(100vw - 32px); padding: 6px; margin: 6px 0 0; border: 1px solid var(--border); border-radius: var(--container-radius); background: var(--surface); box-shadow: var(--container-shadow); animation: language-open 140ms ease-out; }
.language-caption { padding: 7px 10px 9px; margin: 0 0 3px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 11px; font-weight: 500; }
.language-option { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 10px; border: 0; border-radius: 2px; background: var(--clear); color: var(--font); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.language-option[aria-pressed="true"] { color: var(--font); font-weight: 600; }
.language-option:hover { background: var(--accent-surface); }
.language-option svg { width: 17px; height: 17px; }
.language-trigger:focus-visible, .language-option:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }
.login-form > .language-selector { display: flex; width: fit-content; margin-left: auto; margin-bottom: 12px; }
.employee-menu > .language-selector { margin-right: 10px; }
.employee-menu { display: flex; align-items: center; }
@keyframes language-open { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .language-options { animation: none; } .language-trigger, .language-chevron { transition: none; } }
@media (max-width: 420px) { .language-trigger { gap: 5px; padding: 7px 5px; } }
@media (max-width: 900px) {
    .language-options { left:auto;right:16px;max-height:calc(100dvh - 96px);overflow-y:auto; }
}
@media (max-width: 900px) {
    .workspace-header .employee-menu > .language-selector { margin-right: 0; }
    .workspace-header .language-trigger { width: 40px; height: 40px; padding: 0; justify-content: center; }
    .workspace-header .language-trigger > span, .workspace-header .language-chevron { display: none; }
    .workspace-header .language-symbol { display: block; width: 20px; height: 20px; color: var(--font); }
}

.language-options::backdrop { background: var(--clear); }
.portal-label { font-size:11px;letter-spacing:1.4px;line-height:1.6;color:var(--font); }
.portal-label strong { font-size:13px;letter-spacing:2px; }
fieldset { margin:0;padding:0;border:0;min-width:0; }
.account-link { font-size:14px;text-align:center;color:var(--text-muted); }
.account-link a { font-weight:600; }
.resend-link { display:block;text-align:center;font-size:13px;margin-top:16px; }
.text-link { font-size:12px;font-weight:600; }
.password-hint { font-size:12px;color:var(--text-muted);margin-bottom:16px; }
.captcha-row { display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:6px 0 16px; }
.captcha-row img { width:280px;max-width:100%;height:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--container-radius); }
.captcha-row .captcha-refresh { flex-shrink:0;min-height:40px;width:auto;padding:8px 20px;border-radius:var(--container-radius);font-size:14px;font-weight:600; }
.captcha-help { margin:0 0 12px;font-size:12px;line-height:1.5;color:var(--text-muted); }
.success-message { padding:20px;background:var(--success-background);color:var(--font);border-radius:12px;margin-bottom:24px;line-height:1.7; }
.full-width { display:flex;width:100%; }

.workspace-header { display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface);padding:20px clamp(20px,5vw,80px);border-bottom:1px solid var(--border); }
.workspace-header img { width:160px; }
.workspace-actions { display:flex;align-items:center;gap:24px; }
.workspace-content { max-width:1120px;margin:auto;padding:64px 24px; }
.workspace-content h1 { font-size:32px;margin:12px 0; }
.workspace-content p { color:var(--text-muted); }
.account-card { margin-top:32px;background:var(--surface);border:1px solid var(--border);border-radius:var(--container-radius);padding:32px; }
.account-card p { margin:12px 0 24px; }
.secondary-button { display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:var(--surface);border:1px solid var(--border);color:var(--font);border-radius:var(--container-radius);padding:10px 16px;font-size:14px;font-weight:600;text-decoration:none; }
.status-page { max-width:700px;margin:10vh auto;padding:32px; }
.status-page p { margin:20px 0; }
@media(max-width:600px) { .workspace-header { flex-wrap:wrap; } .workspace-actions { gap:12px; } }

/* Shared DevExpress editors: even borders instead of Fluent's separate underline.
   Use theme variables so validation, disabled controls and embedded editors retain their behavior. */
.dxbl-text-edit {
    --dxbl-text-edit-border-color: var(--editor-border);
    border-bottom-color: var(--dxbl-text-edit-border-color) !important;
}
.dxbl-text-edit:is(.dxbl-focused, :focus-within)::after {
    display: none !important;
}
.dxbl-text-edit:not(.dxbl-disabled):not(.dxbl-readonly):not(.invalid):not(:has([aria-invalid="true"])):not(:is(.dxbl-focused, :focus-within)):hover {
    --dxbl-text-edit-border-color: var(--editor-border-hover);
}
.dxbl-text-edit:not(.dxbl-disabled):not(.dxbl-readonly):is(.dxbl-focused, :focus-within) {
    --dxbl-text-edit-border-color: var(--main);
    border-color: var(--dxbl-text-edit-border-color);
    outline: none;
    box-shadow: none;
}
.dxbl-text-edit:is(.invalid, :has([aria-invalid="true"])) {
    --dxbl-text-edit-border-color: var(--error-text);
    border-color: var(--error-text);
}
.dxbl-text-edit:not(.dxbl-disabled):is(.invalid, :has([aria-invalid="true"])):is(.dxbl-focused, :focus-within) {
    --dxbl-text-edit-border-color: var(--error-text);
    border-color: var(--error-text);
    outline: none;
}


/* Recruitment profile workspace follows the ESS sidebar, card and editor palette. */
.profile-header-account { display:flex;align-items:center;gap:16px; }
.profile-account-name { font-weight:600; }
.applicant-navigation { display:flex;flex-direction:column;gap:2px;padding:8px 0; }
.applicant-navigation a,.applicant-navigation button { display:flex;align-items:center;gap:12px;min-height:44px;width:100%;padding:10px 22px;border:0;text-align:left;text-decoration:none;background:var(--clear);color:var(--surface);font:inherit; }
.applicant-navigation button { padding-left:40px;font-size:13px; }
.applicant-navigation a:hover,.applicant-navigation button:hover,.applicant-navigation .applicant-menu-active { background:var(--navigation-selected);box-shadow:inset 3px 0 var(--on-brand-muted); }
.profile-summary { display:flex;align-items:center;gap:20px;border-radius:var(--container-radius);background:var(--panel-header-background);color:var(--surface);padding:28px;margin-bottom:24px; }
.profile-summary img,.profile-avatar { width:80px;height:80px;border-radius:50%;object-fit:cover;flex-shrink:0; }
.profile-avatar { display:grid;place-items:center;background:var(--on-brand-divider);font-size:32px; }
.profile-summary h1 { font-size:24px;color:inherit;margin:4px 0 8px; }
.profile-summary p { margin:0;color:inherit; }
.profile-eyebrow { font-size:10px;letter-spacing:.15em; }
.profile-badge { margin-left:auto;padding:8px 14px;border:1px solid var(--on-brand-divider);border-radius:24px;font-size:12px; }
.profile-progress { border:1px solid var(--border);border-radius:var(--container-radius);padding:20px 24px;margin-bottom:24px;background:var(--panel-header-background);color:var(--surface);box-shadow:var(--container-shadow); }
.profile-progress-heading { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px; }
.profile-progress-heading strong { color:var(--surface);font-size:14px;font-weight:600; }
.profile-progress-step { background:var(--accent-surface);color:var(--main);border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600; }
.profile-progress progress { appearance:none;-webkit-appearance:none;display:block;width:100%;height:8px;margin:18px 0 12px;border:0;border-radius:999px;overflow:hidden;background:var(--on-brand-divider);accent-color:var(--surface); }
.profile-progress progress::-webkit-progress-bar { background:var(--on-brand-divider);border-radius:999px; }
.profile-progress progress::-webkit-progress-value { background:var(--surface);border-radius:999px;transition:width .25s ease; }
.profile-progress progress::-moz-progress-bar { background:var(--surface);border-radius:999px; }
@media (prefers-reduced-motion:reduce) { .profile-progress progress::-webkit-progress-value { transition:none; } }
.profile-progress p { margin:0;color:var(--on-brand-muted);font-size:12px; }
.profile-card { border:1px solid var(--border);border-radius:var(--container-radius);background:var(--surface);overflow:hidden;box-shadow:var(--container-shadow); }
.profile-card>header { display:flex;justify-content:space-between;align-items:center;gap:12px; }

.profile-card-body { padding:24px; }
.profile-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px; }
.profile-field { min-width:0; }
.profile-field label { display:block;margin-bottom:8px;font-size:13px;font-weight:600;text-transform:capitalize; }
.profile-actions { display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid var(--border); }
.profile-error { color:var(--error-text);font-size:13px;margin:8px 0; }
.profile-fields .profile-field > .profile-error { color:var(--error-text);font-size:12px;line-height:1.5; }
/* Error text must take precedence over the surrounding page's muted copy. */
body .profile-error.profile-error,
body .ess-field-error.ess-field-error,
body .ess-error-message.ess-error-message,
body .vacancy-alert.vacancy-alert,
.careers-site .vacancy-apply-panel > p.vacancy-alert,
body .vacancy-empty[role="alert"] > p { color:var(--error-text); }
.profile-result { padding:12px 16px;border:1px solid var(--border);border-radius:12px;background:var(--accent-surface);margin-top:20px; }
.profile-photo-editor { display:flex;align-items:center;justify-content:center;gap:32px;padding:24px 0; }
.profile-photo-editor img,.profile-photo-placeholder { width:180px;height:180px;object-fit:cover;border-radius:var(--container-radius); }
.profile-photo-placeholder { background:var(--accent-surface);display:grid;place-items:center;font-size:56px; }
.profile-photo-editor p,.profile-document p { color:var(--text-muted);font-size:13px; }
.profile-upload { position:relative;display:inline-flex;align-items:center;justify-content:center;background:var(--main);color:var(--surface);padding:12px 20px;border-radius:var(--container-radius);cursor:pointer;font-size:13px;font-weight:600;overflow:hidden; }
.profile-upload input { position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%; }
.profile-upload:focus-within { outline:2px solid var(--main);outline-offset:3px; }
.profile-document { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--border); }
.profile-document:first-child { padding-top:0; }
.profile-document:last-child { border-bottom:0; }
.profile-document h3 { font-size:15px;margin:0; }
@media(max-width:700px) {
 .profile-fields { grid-template-columns:1fr; }
 .profile-summary { padding:20px;flex-wrap:wrap; }
 .profile-badge { margin-left:0; }
 .profile-photo-editor,.profile-document { flex-direction:column;align-items:flex-start; }
 .profile-header-account { gap:8px; }
 .profile-account-name { display:none; }
 .profile-card-body { padding:16px; }
}

.workspace-shell .workspace-content { max-width:none;padding:0;margin:0; }
.workspace-shell .workspace-content .profile-summary p { color:inherit; }
.workspace-shell .workspace-content .profile-summary h1 { font-size:24px;margin:4px 0 8px; }
.applicant-navigation button:disabled { opacity:.6;cursor:wait; }
.profile-wizard-entry { display:flex;justify-content:flex-end;margin:0 0 20px; }
.ess-grid-header-row > th, th.ess-grid-header { background-color: var(--main) !important; color: var(--surface) !important; text-align: center !important; }
.ess-grid-header .dxbl-grid-header-content { justify-content: center; color: inherit; }
.dxbl-pager { --dxbl-pager-input-border-radius: var(--container-radius); }
/* Selection checkboxes need contrast against the custom dark grid header. */
.ess-grid-header-row > th .dxbl-checkbox .dxbl-checkbox-check-element {
    border-color: var(--surface);
    --dxbl-checkbox-check-element-check-icon-color: var(--surface);
    --dxbl-checkbox-focused-check-element-frame-outline-color: var(--surface);
    --dxbl-checkbox-indeterminate-check-element-bg: var(--surface);
    --dxbl-checkbox-indeterminate-hover-check-element-bg: var(--surface);
}
.ess-grid-header-row > th .dxbl-checkbox .dxbl-checkbox-check-element > input[type="checkbox"] {
    /* DevExpress draws the box and checkmark; keep the native input interactive only. */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    opacity: 0;
    margin: 0;
    background: var(--clear);
    border: 0;
    box-shadow: none;
}
.ess-grid-header-row > th .dxbl-checkbox.dxbl-checkbox-unchecked .dxbl-checkbox-check-element {
    background: var(--clear);
    box-shadow: none;
}
.ess-grid-header-row > th .dxbl-checkbox.dxbl-disabled .dxbl-checkbox-check-element {
    border-color: color-mix(in srgb, var(--surface) 55%, transparent);
}
/* Fixed command cells have a native background; keep the entire even row consistent. */
/* Preserve Enter only in data text cells. Summary and control markup must not preserve formatting newlines. */
.ess-custom-grid td.ess-grid-data-cell:not(:has(input, textarea, select, button, [role="checkbox"])) { white-space: pre-line; }
.ess-custom-grid .ess-grid-even-row:not(.dxbl-grid-focused-row):not(.dxbl-grid-selected-row) > td:not(.ess-grid-configured-background):not(.ess-roster-modified):not(:has(.ess-roster-changed)) { background-color: var(--accent-surface) !important; }
.ess-custom-grid { height: 360px; max-height: 65dvh; }
.ess-custom-grid.ess-grid-auto-height { height: auto; max-height: none; }
.ess-grid-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ess-grid-export-error { color: var(--error-text); font-size: 12px; }
.ess-grid-header [aria-haspopup] { color: inherit !important; background-color: var(--clear) !important; }
.ess-grid-header [aria-haspopup]:is(:hover, :focus-visible) { background-color: var(--primary-hover) !important; }
.ess-grid-header [aria-haspopup]:is(:active, [aria-expanded="true"]) { background-color: var(--main) !important; }
.ess-grid-header [aria-haspopup] svg { color: inherit !important; }
.ess-grid-icon { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; background-color: currentColor; mask: var(--ess-grid-icon) center / contain no-repeat; -webkit-mask: var(--ess-grid-icon) center / contain no-repeat; }
.ess-grid-view-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 6px; border: 0; border-radius: 4px; color: var(--font); background: transparent; cursor: pointer; }
.ess-grid-view-button:hover { background: var(--primary-hover); color: var(--surface); }
.ess-grid-view-button:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }
.ess-grid-view-button:disabled { opacity: .45; cursor: default; }
.ess-grid-icon-view { --ess-grid-icon: url("images/icon/view.svg"); }
.ess-grid-icon-download { --ess-grid-icon: url("images/icon/download.svg"); }
.ess-grid-icon-clear-filter { --ess-grid-icon: url("images/icon/clear-filter.svg"); }
.ess-grid-icon-columns { --ess-grid-icon: url("images/icon/columns.svg"); }
.ess-grid-icon-filter-editor { --ess-grid-icon: url("images/icon/filter-editor.svg"); }
.ess-grid-icon-group { --ess-grid-icon: url("images/icon/group.svg"); }
.ess-grid-icon-search { --ess-grid-icon: url("images/icon/search.svg"); }
.ess-grid-icon-export-pdf { --ess-grid-icon: url("images/icon/export-pdf.svg"); }
.ess-grid-icon-export-xlsx { --ess-grid-icon: url("images/icon/export-xlsx.svg"); }

.ess-grid-view-action { display: flex; align-items: center; justify-content: center; width: 100%; }

.ess-grid-toolbar { width: 100%; min-width: 0; }
/* The Medium toolbar's overflow icon must not inherit Large sizing from the page. */
.ess-grid-toolbar .dxbl-toolbar-icon-more { --dxbl-image-height: 1.25rem; --dxbl-image-width: 1.25rem; }
.ess-grid-scroll > .ess-custom-grid:has(.ess-grid-toolbar) { min-width: 0; width: 100%; max-width: 100%; }
/* Profile sections are tabs within a single workspace page. */
.applicant-profile-heading { display:flex;align-items:center;gap:20px;padding:8px 0 20px;border-bottom:1px solid var(--border); }
.applicant-profile-heading img,.applicant-profile-heading .profile-avatar { width:80px;height:80px;border-radius:50%;object-fit:cover;flex-shrink:0;background:var(--accent-surface);color:var(--main); }
.workspace-shell .workspace-content .applicant-profile-heading h1 { font-size:24px;margin:0 0 6px; }
.applicant-profile-heading p { margin:0;color:var(--text-muted);overflow-wrap:anywhere; }
.applicant-profile-heading>div { min-width:0; }
.applicant-profile-tabs { margin:0 0 20px;max-width:100%; }
.workspace-shell .profile-card { border:1px solid var(--border);box-shadow:none; }


.ess-grid-empty { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px 12px;white-space:normal; }
.ess-grid-empty svg { flex:none;opacity:.6; }
.ess-custom-grid:has(.ess-grid-empty) { height:auto;max-height:none; }
@media(max-width:700px) {
    .applicant-profile-tabs > .dxbl-tabs-tablist { border:0;padding:0 0 8px; }
    .applicant-profile-tabs > .dxbl-tabs-tablist > ul { gap:8px; }
    .applicant-profile-tabs > .dxbl-tabs-tablist > ul > li { max-width:100%; }
    .applicant-profile-tabs .dxbl-tabs-item { min-height:44px;height:auto;padding:10px 12px !important;border:1px solid var(--border);border-radius:10px !important;background:var(--surface);color:var(--font) !important;font-size:13px !important; }
    .applicant-profile-tabs .dxbl-tabs-item[aria-selected="true"] { background:var(--main);border-color:var(--main);color:var(--surface) !important; }
    .applicant-profile-tabs .dxbl-tabs-item::after { display:none; }
    .applicant-profile-tabs .dxbl-tabs-item:focus-visible { outline:2px solid var(--main);outline-offset:2px; }
    .applicant-profile-tabs .dxbl-tabs-text-overflow { white-space:normal;overflow-wrap:anywhere; }
    .ess-custom-grid { height:auto;max-height:none;min-width:0; }
    .ess-custom-grid > .dxbl-scroll-viewer,
    .ess-custom-grid > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content { height:auto !important;max-height:none !important;overflow:visible !important; }
    .ess-custom-grid > .dxbl-scroll-viewer > dxbl-scroll-bar { display:none; }
    .ess-custom-grid .dxbl-grid-table { display:block;width:100% !important;min-width:0 !important; }
    .ess-custom-grid .dxbl-grid-table > colgroup,
    .ess-custom-grid .dxbl-grid-table > thead,
    .ess-custom-grid .dxbl-grid-empty-cell,
    .ess-custom-grid .dxbl-grid-columns-separator { display:none; }
    .ess-custom-grid .dxbl-grid-table > tbody { display:flow-root;width:100%;padding:12px;box-sizing:border-box; }
    .ess-custom-grid .recruitment-grid-card { display:flex;flex-direction:column;margin:0 0 12px;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface); }
    .ess-custom-grid .recruitment-grid-card:last-child { margin-bottom:0; }
    .ess-custom-grid .recruitment-grid-card > td.ess-grid-data-cell { display:block;width:auto !important;min-width:0 !important;padding:12px 16px;border:0;border-bottom:1px solid var(--border);white-space:normal;overflow-wrap:anywhere;text-align:left;background:var(--surface) !important; }
    .ess-custom-grid .recruitment-grid-card > td.ess-grid-data-cell:last-of-type,
    .ess-custom-grid .recruitment-grid-card > td.ess-grid-data-cell:has(+ .dxbl-grid-empty-cell) { border-bottom:0; }
    .ess-custom-grid .ess-grid-data-cell::before { content:attr(data-card-label);display:block;margin-bottom:5px;color:var(--text-muted);font-size:12px;font-weight:600; }
    .ess-custom-grid .ess-grid-view-action { justify-content:flex-start;gap:8px; }
    .ess-custom-grid .ess-grid-view-button { min-width:44px;min-height:44px; }
    .ess-custom-grid tr:has(> .dxbl-grid-empty-data-area) { display:block;width:100%; }
    .ess-custom-grid .dxbl-grid-empty-data-area { display:flex;width:100%;min-height:168px;align-items:center;justify-content:center;box-sizing:border-box; }
    .ess-custom-grid .ess-grid-empty { width:100%;text-align:center; }
    .ess-custom-grid .dxbl-grid-bottom-panel { flex-wrap:wrap;gap:12px;padding:12px; }
}
@media(max-width:600px) { .applicant-profile-heading { gap:12px; } .applicant-profile-heading img,.applicant-profile-heading .profile-avatar { width:60px;height:60px; } }
.applicant-profile-heading + .profile-progress { margin-top:20px; }
.ess-form-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); align-items: start; gap: 24px; }
.ess-form-panel { padding: 28px 32px 12px; }
.ess-panel-heading { margin: 0; padding: 16px 20px; border-radius: var(--container-inner-radius) var(--container-inner-radius) 0 0; font-size: 14px; font-weight: 600; color: var(--surface); background: var(--panel-header-background); }
.ess-form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: -28px -32px 24px; padding: 16px 32px; }
.ess-form-heading > h2 { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 0; color: inherit; }
.ess-form-heading > span { color: var(--on-brand-muted); font-size: 11px; white-space: nowrap; }
.ess-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; min-width: 0; }
.ess-field > label { font-size: 14px; font-weight: 600; color: var(--text); }
.ess-field > small { color: var(--text-muted); }
.ess-field-column { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.ess-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ess-field-error { min-height: 18px; font-size: 12px; line-height: 1.5; color: var(--error-text); }
.ess-field > .ess-field-error { margin: -4px 0 0; }
.ess-error-message { padding: 16px; margin-bottom: 20px; border: 1px solid var(--error-text); background: var(--error-background); color: var(--error-text); border-radius: var(--container-radius); }
.ess-form-actions { display: flex; justify-content: center; margin-top: 24px; }
.ess-submit-button { width: 220px; max-width: 100%; }
.ess-password-fields { display: grid; gap: 20px; }
.ess-password-policy { padding: 18px 20px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.ess-password-policy > p { margin: 0 0 12px; white-space: pre-line; }
.ess-password-policy > p:last-child { margin-bottom: 0; }
.ess-panel { background:var(--surface);border:1px solid var(--border);border-radius:var(--container-radius);overflow:hidden; }


@media(max-width:1000px) { .ess-form-columns { grid-template-columns:minmax(0,1fr); } }
.workspace-shell .workspace-content .ess-field-error { color:var(--error-text); }
.recruitment-grid-add { --ess-grid-icon:url("images/icon/grid-add.svg"); }
.recruitment-grid-edit { --ess-grid-icon:url("images/icon/grid-edit.svg"); }
.recruitment-grid-delete { --ess-grid-icon:url("images/icon/grid-delete.svg"); }
:root { --vacancy-card-shadow: 0 4px 18px color-mix(in srgb, var(--main) 5%, transparent); }
.vacancy-intro { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:12px 0 28px; }
.vacancy-eyebrow { font-size:11px; font-weight:700; letter-spacing:.16em; color:var(--text-muted); }
.vacancy-intro h1,.vacancy-detail-heading h1 { font-size:clamp(25px,2.5vw,34px); line-height:1.25; letter-spacing:-.035em; margin:10px 0; color:var(--main); }
.vacancy-intro p { margin:0; color:var(--text-muted); line-height:1.6; }
.vacancy-profile-link { white-space:nowrap; }
.vacancy-search { display:grid; grid-template-columns:2fr 1fr 1fr; gap:18px; background:var(--panel-header-background);color:var(--surface); border:1px solid var(--border); border-radius:var(--container-radius); padding:22px; }
.vacancy-search label { display:block; font-size:12px; font-weight:600; margin-bottom:8px; }
.vacancy-search select { width:100%; min-height:40px; padding:8px 32px 8px 12px; border:1px solid var(--editor-border); border-radius:10px; color:var(--text); background:var(--surface); font:inherit; }
.vacancy-search select:focus-visible,.vacancy-card a:focus-visible { outline:2px solid var(--main); outline-offset:3px; }
.vacancy-results-heading { display:flex; align-items:center; justify-content:space-between; margin:30px 0 16px; }
.vacancy-results-heading h2 { margin:0; font-size:18px; }.vacancy-results-heading h2 span { margin-left:8px; background:var(--accent-surface); padding:4px 9px; border-radius:20px; font-size:12px; }
.vacancy-results-heading { min-height:40px; gap:16px; }
.vacancy-reset-button { white-space:nowrap; }
.vacancy-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:18px 0 28px; border-top:1px solid var(--border); }
.vacancy-pagination p { margin:0; font-size:12px; color:var(--text-muted); }
.vacancy-pagination nav { display:flex; flex-wrap:wrap; gap:8px; }
.vacancy-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; padding-bottom:25px; }
.vacancy-card { display:flex; flex-direction:column; min-width:0; padding:24px; border:1px solid var(--border); border-radius:var(--container-radius); background:var(--surface); box-shadow:var(--vacancy-card-shadow); transition:border-color .15s,box-shadow .15s; }
.vacancy-card:hover { border-color:var(--accent-soft); box-shadow:var(--container-shadow); }
.vacancy-card-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.vacancy-tag { display:inline-block; background:var(--accent-surface); color:var(--main); border-radius:6px; font-size:11px; font-weight:600; padding:6px 9px; }
.vacancy-tag:empty { display:none; }.vacancy-reference { font-size:11px; color:var(--text-muted); letter-spacing:.04em; }
.vacancy-card h3 { font-size:21px; line-height:1.35; margin:18px 0 10px; }.vacancy-card h3 a { text-decoration:none; color:var(--main); }
.vacancy-meta { display:flex; flex-wrap:wrap; gap:8px 20px; color:var(--text-muted); font-size:12px; }.vacancy-meta span:empty { display:none; }
.vacancy-summary { color:var(--text-muted); font-size:13px; line-height:1.75; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin:18px 0 24px; }
.vacancy-card footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:18px; border-top:1px solid var(--border); }
.vacancy-deadline { font-size:11px; color:var(--text-muted); }.vacancy-details-link { white-space:nowrap; }
.vacancy-back { margin:5px 0 24px; }.vacancy-detail-heading { padding-bottom:28px; }
.vacancy-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:24px; align-items:start; padding-bottom:24px; }
.vacancy-detail-content,.vacancy-apply-panel { background:var(--surface); border:1px solid var(--border); border-radius:var(--container-radius); padding:28px; }
.vacancy-detail-content section+section { border-top:1px solid var(--border); margin-top:28px; padding-top:28px; }
.vacancy-detail-content h2,.vacancy-apply-panel h2 { font-size:18px; margin:0 0 18px; }.vacancy-description { white-space:pre-line; }
.vacancy-detail-content p,.vacancy-detail-content li { color:var(--text-muted); line-height:1.85; font-size:14px; }.vacancy-detail-content ul { padding-left:20px; margin-bottom:0; }.vacancy-detail-content li+li { margin-top:10px; }
.vacancy-apply-panel { position:sticky; top:20px; padding:24px; }.vacancy-apply-panel dl { margin-bottom:24px; }.vacancy-apply-panel dt { color:var(--text-muted); font-size:11px; margin-top:18px; }.vacancy-apply-panel dd { margin:5px 0 0; font-size:13px; font-weight:600; }
.vacancy-apply-panel>p { font-size:12px; line-height:1.7; color:var(--text-muted); }.vacancy-apply-button { width:100%; margin-top:8px; }.vacancy-review-profile { width:100%; margin:18px 0 0; }
.vacancy-alert { padding:16px; border-radius:12px; background:var(--error-background); color:var(--error-text); margin-bottom:16px; line-height:1.6; }.vacancy-success { padding:16px; border-radius:12px; background:var(--success-background); color:var(--success-text); font-weight:600; }.vacancy-success p { font-size:12px; font-weight:400; margin:8px 0 0; }
.vacancy-empty { padding:48px 24px; text-align:center; background:var(--surface); border:1px solid var(--border); border-radius:var(--container-radius); }.vacancy-empty p { color:var(--text-muted); }
.workspace-shell .workspace-content .vacancy-empty p { margin:8px 0 24px; }
@media(max-width:700px) {
    .vacancy-intro { flex-direction:column;align-items:stretch;gap:20px; }
    .vacancy-intro > div { width:100%;min-width:0; }
    .vacancy-intro > .dxbl-btn { align-self:flex-start;max-width:100%; }
    .vacancy-empty { padding:32px 24px; }
}
.vacancy-confirm-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:24px; }
@media(max-width:1100px) { .vacancy-detail-layout { grid-template-columns:minmax(0,1fr) 270px; }.vacancy-intro { align-items:flex-start; }.vacancy-profile-link { display:none; } }
@media(max-width:700px) { .vacancy-search,.vacancy-list,.vacancy-detail-layout { grid-template-columns:1fr; }.vacancy-search { padding:18px; }.vacancy-card,.vacancy-detail-content { padding:22px; }.vacancy-apply-panel { position:static; }.vacancy-detail-layout .vacancy-apply-panel { grid-row:1; }.vacancy-intro { padding-top:0; } }
.vacancy-quick-form { max-width:850px; }
/* Quick Apply uses the ESS transaction popup surface and modal shape. */
.ess-transaction-popup-surface { background-color:var(--page-background) !important; }
.quick-apply-popup {
    --dxbl-popup-border-radius:var(--container-radius);
    --dxbl-popup-shadow:var(--container-shadow);
    --dxbl-popup-header-border-radius:var(--container-inner-radius) var(--container-inner-radius) 0 0;
    --dxbl-popup-footer-border-radius:0 0 var(--container-inner-radius) var(--container-inner-radius);
    border-radius:var(--container-radius);
    box-shadow:var(--container-shadow);
}
.quick-apply-popup .profile-actions { flex-wrap:wrap; }
.vacancy-quick-form fieldset { border:0; padding:0; margin:0; min-width:0; }
.vacancy-quick-form .field { margin:24px 0; max-width:520px; }
.quick-apply-documents { margin-top:24px;padding-top:24px;border-top:1px solid var(--border); }
.quick-apply-document-details { min-width:0; }
.quick-apply-document-filename { display:block;overflow-wrap:anywhere;font-size:14px; }
.quick-apply-documents .profile-upload { flex-shrink:0; }
@media(max-width:500px) {
    .quick-apply-documents .quick-apply-document-details { width:100%; }
    .quick-apply-documents .profile-upload { width:100%;min-height:44px;box-sizing:border-box; }
    .vacancy-quick-form .profile-actions { flex-direction:column;align-items:stretch; }
    .vacancy-quick-form .profile-actions > .dxbl-btn { width:100%;min-height:44px; }
}
.applied-overview { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px; }
.applied-overview section { background:var(--panel-header-background);color:var(--surface);border:1px solid var(--border);border-radius:var(--container-radius);padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px; }
.applied-overview span { font-size:13px;color:var(--surface); }.applied-overview strong { color:var(--surface);font-size:30px;line-height:1.2; }
.applied-stage { display:inline-block;border-radius:8px;background:var(--accent-surface);color:var(--main);padding:6px 10px;font-size:12px;font-weight:600; }
.applied-no-invitation { color:var(--text-muted);font-size:12px; }
.applied-detail-layout { display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start; }
.applied-schedule-highlight { background:var(--accent-surface);border-radius:12px;padding:20px;display:grid;gap:8px; }.applied-schedule-highlight span { color:var(--text-muted);font-size:12px; }.applied-schedule-highlight strong { color:var(--main);font-size:22px; }
.applied-facts dt { font-size:12px;color:var(--text-muted);margin-top:18px; }.applied-facts dd { margin:6px 0 0;white-space:pre-line; }
.applied-schedule-content { min-width:0; }
.applied-schedule-facts { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;margin:0; }
.applied-schedule-date { grid-column:1 / -1; }
.applied-schedule-facts dt { font-size:13px;color:var(--text-muted);margin-bottom:6px; }
.applied-schedule-facts dd { margin:0;font-size:14px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere; }
.applied-schedule-content .vacancy-description { margin:0;overflow-wrap:anywhere; }
@media(max-width:600px) { .applied-schedule-facts { grid-template-columns:1fr;gap:18px; } }
.applied-response fieldset { border:0;margin:0;padding:0;min-width:0; }.applied-response label { display:block;margin:18px 0 8px;font-size:12px;font-weight:600; }
.applied-response .applied-change-response { width:100%;margin-top:20px; }
.applied-response .applied-response-deadline { margin:24px 0 8px;color:var(--text-muted);font-size:12px;line-height:1.7; }
.applied-response .applied-response-details { margin:0 0 24px; }
.applied-response-details dd { white-space:pre-line;overflow-wrap:anywhere; }
.applied-response .applied-response-details + .applied-change-response { margin-top:0; }
.applied-response .applied-response-deadline + .applied-change-response { margin-top:0; }
.applied-response select { width:100%;border:1px solid var(--editor-border);border-radius:10px;padding:10px;background:var(--surface);color:var(--text);font:inherit; }
@media(max-width:1100px) { .applied-detail-layout { grid-template-columns:1fr; }.applied-response { position:static; } }
@media(max-width:600px) { .applied-overview { grid-template-columns:1fr;gap:12px; } }

/* Shared ESS section heading styles; colors are configured in :root above. */
.ess-record-panel-heading { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--border); border-radius: var(--container-inner-radius) var(--container-inner-radius) 0 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--surface); background: var(--panel-header-background); }
.ess-record-panel-heading > :is(h2, h3) { margin: 0; font: inherit; color: inherit; }

/* Match ESS WorkspacePage's effective h2 typography, including panel titles. */
.workspace-shell .workspace-page h2 { font-size: 17px; font-weight: 600; }
.workspace-shell .workspace-page .ess-record-panel-heading > h2 { line-height: 1.5; }

/* ESS Personal Data identity header. */
.ess-personal-data-header { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: 24px; align-items: center; }
.ess-personal-data-header > div:not(.profile-photo-placeholder) { grid-column: -2 / -1; min-width: 0; }
.ess-personal-data-header h2 { font-size: 18px; font-weight: 700; line-height: 1.4; margin: 0 0 8px; }
.ess-personal-data-header p { font-size: 14px; margin: 0 0 16px; }
.workspace-shell .workspace-drawer { --dxbl-drawer-panel-header-bg:var(--clear) !important; --dxbl-drawer-panel-header-padding-y:0; }
.workspace-shell .workspace-drawer .dxbl-drawer-header { height:80px;min-height:80px;box-sizing:border-box;padding-top:0;padding-bottom:0;border-bottom:0; }
.workspace-shell .sidebar-heading { min-height:0;height:80px;justify-content:space-between;border-bottom:1px solid var(--navigation-divider); }
.workspace-shell .sidebar-portal-title { padding-left:8px;color:var(--surface);font-size:16px;font-weight:600;letter-spacing:.02em;line-height:1.4; }
.workspace-shell .sidebar-heading.compact { justify-content:center; }
.workspace-shell .sidebar-heading .close-navigation { color:var(--on-brand-muted); }
@media(max-width:900px) { .workspace-shell .workspace-drawer .dxbl-drawer-header { height:64px;min-height:64px; }.workspace-shell .sidebar-heading { height:64px; } }
.profile-dashboard-header { display:grid;grid-template-columns:minmax(280px,1fr) minmax(360px,1.25fr);align-items:center;gap:32px;padding:24px;border-radius:var(--container-radius);background:var(--panel-header-background);color:var(--surface);margin-bottom:24px; }
.profile-dashboard-identity { display:flex;align-items:center;gap:20px;min-width:0; }
.profile-dashboard-name { min-width:0; }
.profile-dashboard-summary { grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px 28px;margin:0;padding-top:20px;border-top:1px solid var(--navigation-divider); }
.profile-dashboard-summary > div { min-width:0; }
.profile-dashboard-summary dt { margin-bottom:6px;font-size:13px;font-weight:500;line-height:1.5;color:var(--on-brand-muted); }
.profile-dashboard-summary dd { margin:0;font-size:14px;line-height:1.6;color:var(--surface);overflow-wrap:anywhere; }
.profile-dashboard-name h2 { overflow-wrap:anywhere; }
.workspace-shell .workspace-page .profile-dashboard-name h2 { margin:0 0 6px;font-size:22px;color:var(--surface); }
.workspace-shell .workspace-content .profile-dashboard-name p { margin:0 0 12px;font-size:14px;color:var(--on-brand-muted);overflow-wrap:anywhere; }
.profile-dashboard-header .ess-personal-data-photo-editor { width:84px;flex:0 0 84px;border-radius:12px; }
.profile-dashboard-header .ess-personal-data-photo-editor .ess-personal-data-photo { width:84px;height:84px;object-fit:cover; }
.profile-dashboard-header .profile-photo-placeholder { display:grid;place-items:center;background:var(--navigation-selected);color:var(--surface);font-size:36px; }
.profile-dashboard-header .ess-personal-data-photo-editor .profile-upload { min-height:28px;padding:6px 2px;font-size:10px;white-space:nowrap;background:var(--navigation-selected); }
.profile-dashboard-header .profile-upload svg { display:none; }
.profile-dashboard-header .profile-dashboard-wizard { background:var(--navigation-selected);border:1px solid var(--navigation-divider);color:var(--surface);min-height:34px;padding:6px 14px;font-size:13px; }
.profile-dashboard-stats { display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--navigation-divider);border-radius:var(--container-radius);overflow:hidden; }
.profile-dashboard-stat { display:flex;align-items:center;gap:18px;padding:24px 22px;color:var(--surface);text-decoration:none; }
.profile-dashboard-stat + .profile-dashboard-stat { border-left:1px solid var(--navigation-divider); }
.profile-dashboard-stat svg { width:26px;height:26px;flex-shrink:0; }
.profile-dashboard-stat-label { display:block;font-size:14px;line-height:1.5;margin-bottom:8px; }
.profile-dashboard-stat strong { display:block;font-size:28px;line-height:1.1; }
.profile-dashboard-stat:hover { color:var(--surface);background:var(--navigation-selected);text-decoration:none; }
.profile-dashboard-stat:focus-visible { outline:2px solid var(--surface);outline-offset:-4px; }
@media(max-width:1100px) { .profile-dashboard-header { grid-template-columns:1fr;gap:22px; } }
@media(max-width:500px) { .profile-dashboard-header { padding:20px; }.profile-dashboard-identity { gap:14px; }.profile-dashboard-stat { gap:10px;padding:22px 12px; }.profile-dashboard-stat-label { font-size:12px; }.profile-dashboard-stat strong { font-size:24px; } }
@media(max-width:500px) {
    .profile-dashboard-header { padding:20px;gap:20px; }
    .profile-dashboard-stat { flex-direction:column;align-items:flex-start;gap:10px;padding:16px; }
    .profile-dashboard-stat-label { min-height:36px;margin-bottom:6px; }
    .profile-dashboard-header .profile-dashboard-wizard { min-height:40px;white-space:normal; }
}
@media(max-width:360px) {
    .profile-dashboard-identity { flex-direction:column;align-items:flex-start; }
}
.ess-personal-data-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
.ess-personal-data-header { margin-bottom:20px; }
.ess-personal-data-header .profile-photo-placeholder { width:120px;height:120px; }
.workspace-shell .workspace-page .ess-personal-data-header h2 { font-size:18px;font-weight:700;line-height:1.4; }
.ess-personal-data-header .profile-photo-help { margin:10px 0 0;font-size:12px;color:var(--text-muted); }
@media(max-width:700px) { .ess-personal-data-header { grid-template-columns:minmax(0,1fr);padding:20px; }.ess-personal-data-photo { justify-self:center; } }
.ess-personal-data-header { align-items:start; }
.ess-personal-data-photo-editor { width:140px;margin:0;overflow:hidden;border-radius:8px; }
.ess-personal-data-photo-editor .ess-personal-data-photo { width:140px;height:140px;border-radius:0; }
.ess-personal-data-photo-editor .profile-upload { display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:38px;padding:8px;border-radius:0;font-size:12px; }
.ess-personal-data-photo-editor .profile-upload:focus-within { outline:2px solid var(--surface);outline-offset:-4px; }
@media(max-width:700px) { .ess-personal-data-photo-editor { justify-self:center; } }
.ess-grid-header .recruitment-grid-header-add { color:inherit; }
.ess-grid-header .recruitment-grid-header-add:focus-visible { outline-color:var(--surface); }

.ess-personal-data-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.ess-personal-data-facts > div { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.ess-personal-data-facts dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--font); text-align: right; overflow-wrap: anywhere; white-space: pre-line; }
.ess-personal-data-facts { margin:0; }
@media(max-width:700px) { .ess-personal-data-facts { grid-template-columns:minmax(0,1fr); } }

.profile-field[data-full-width="true" i] { grid-column:1 / -1; }

/* Match ESS Personal Data tab spacing; compact actions keep its header height. */
.ess-personal-data-tab { display: grid; gap: 20px; padding-top: 20px; min-width: 0; }
.profile-card > .ess-record-panel-heading .profile-header-action { box-sizing: border-box; height: 26px; min-height: 26px; padding: 0 10px; font-size: 13px; line-height: 20px; }
/* Public careers: ESS palette and controls, with an editorial corporate layout. */
.careers-site { background:var(--page-background);color:var(--font);min-height:100vh; }
.careers-site a { color:inherit;text-decoration:none; }
.careers-site a.primary-button { color:var(--surface); }
.careers-site a:focus-visible { outline:2px solid var(--main-gradient);outline-offset:5px; }
.careers-skip { position:absolute;top:-80px;left:20px;padding:12px;background:var(--surface);z-index:20; }
.careers-skip:focus { top:10px; }
.careers-nav { display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:80px;padding:12px 32px;background:var(--surface);border-bottom:1px solid var(--border); }
.careers-brand { display:flex;align-items:center;gap:18px; }
.careers-brand img { width:168px;height:56px;object-fit:contain; }
.careers-brand > span { border-left:1px solid var(--border);padding-left:18px;font-size:12px;letter-spacing:.15em;text-transform:uppercase; }
.careers-nav nav,.careers-account { display:flex;gap:26px;align-items:center;font-size:14px; }
.careers-account { gap:16px; }
.careers-account .language-selector { position:relative;top:auto;right:auto; }
.careers-site .careers-button { display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:11px 22px;border-radius:var(--container-radius);background:var(--main);color:var(--surface);font-size:14px;font-weight:600;transition:background .2s;white-space:nowrap; }
.careers-site .careers-button:hover { background:var(--primary-hover); }
.careers-site .careers-button-light { background:var(--surface);color:var(--main); }
.careers-site .careers-button-light:hover { background:var(--accent-surface); }
.careers-hero { display:grid;grid-template-columns:1.1fr 1fr;min-height:620px;background:var(--main);color:var(--surface); }
.careers-hero-copy { padding:80px 8% 28px;display:flex;flex-direction:column;align-items:flex-start; }
.careers-kicker { font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase; }
.careers-hero h1 { font-size:clamp(40px,4.6vw,76px);font-weight:600;line-height:1.09;letter-spacing:-.045em;margin:38px 0 26px;color:inherit; }
.careers-hero h1 em { font-family:Georgia,serif;font-weight:400; }
.careers-hero-copy > p { max-width:340px;font-size:17px;line-height:1.8;color:var(--on-brand-muted);margin:0 0 34px; }
.careers-hero-foot { margin-top:auto;padding-top:62px;width:100%;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--on-brand-muted); }
.careers-hero-art:after { content:'';position:absolute;inset:32px;border:1px solid var(--on-brand-divider);border-radius:200px 200px 0 0;pointer-events:none; }
.careers-art-caption { position:absolute;bottom:48px;left:56px;right:48px;z-index:1; }
.careers-art-caption span { font-size:10px;letter-spacing:.2em; }
.careers-art-caption p { font:italic 36px/1.2 Georgia,serif;margin:20px 0 0; }
.careers-container { max-width:1440px;margin:auto;padding-left:4.5%;padding-right:4.5%;scroll-margin-top:24px; }
.careers-company { display:grid;grid-template-columns:1fr 1.2fr;gap:70px;padding-top:90px;padding-bottom:90px; }
.careers-company h2 { font-size:clamp(30px,3vw,46px);font-weight:500;letter-spacing:-.025em;line-height:1.2;margin:22px 0 0; }
.careers-company-copy > p { font-size:21px;line-height:1.75;margin:26px 0 30px; }
.careers-company-note { border-top:1px solid var(--border);padding-top:24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;font-size:13px;color:var(--text-muted); }
.careers-company-note a { font-weight:600;color:var(--main);text-decoration:underline;text-underline-offset:5px; }
.careers-opportunities { padding-top:48px;padding-bottom:80px;border-top:1px solid var(--border); }
.careers-section-title { display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:36px; }
.careers-section-title h1,.careers-role-heading h1 { font-size:clamp(32px,3.2vw,48px);line-height:1.2;font-weight:500;letter-spacing:-.025em;margin:16px 0 0; }
.careers-section-title > p { font-size:14px;color:var(--text-muted);max-width:260px;line-height:1.7; }
.careers-filters { display:grid;grid-template-columns:2fr 1fr 1fr;gap:22px;background:var(--panel-header-background);color:var(--surface);padding:24px;border-radius:var(--container-radius); }
.careers-filters label { display:block;font-size:12px;margin-bottom:10px; }
.careers-results { display:flex;justify-content:space-between;align-items:center;min-height:76px;font-size:13px;color:var(--text-muted); }
.careers-job-list { display:grid;gap:16px; }
.careers-job { display:grid;grid-template-columns:1.1fr 1.3fr auto;gap:34px;align-items:center;padding:32px;background:var(--surface);border:1px solid var(--border);border-radius:var(--container-radius);transition:box-shadow .2s,border-color .2s; }
.careers-job:hover { border-color:var(--accent-soft);box-shadow:var(--container-shadow); }
.careers-job h2 { font-size:23px;font-weight:600;letter-spacing:-.015em;margin:12px 0; }
.careers-job-title > p { font-size:13px;color:var(--text-muted);margin:0; }
.careers-job-description > p { display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.7;margin:0 0 12px;color:var(--text-muted); }
.careers-job-description > span { font-size:11px;color:var(--text-muted); }
.careers-pagination,.careers-pagination nav { display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px;margin-top:28px; }
.careers-pagination nav { margin:0; }
.careers-closing { text-align:center;padding:70px 24px;background:var(--panel-header-background);color:var(--surface); }
.careers-closing h2 { font:italic clamp(30px,4vw,48px)/1.2 Georgia,serif;margin:24px 0 18px; }
.careers-closing p { color:var(--on-brand-muted);margin-bottom:26px; }
.careers-footer { padding:32px 4.5%;display:flex;justify-content:space-between;gap:20px;font-size:12px;background:var(--surface); }
.careers-footer > a:first-child { font-weight:700;font-size:16px; }
.careers-footer span { color:var(--text-muted);font-weight:400; }
.careers-text-link { display:inline-block;text-decoration:underline!important;text-underline-offset:5px;font-size:13px; }
.careers-role-heading { padding:42px 0; }
.careers-role-heading p { color:var(--text-muted);margin-top:20px; }
.careers-site .vacancy-apply-panel > p { font-size:13px;color:var(--text-muted);line-height:1.7; }
@media(max-width:1100px) { .careers-nav { flex-wrap:wrap;gap:20px; }.careers-nav nav { order:3;width:100%;justify-content:center;padding-top:12px;border-top:1px solid var(--border); }.careers-job { grid-template-columns:1fr 1fr; }.careers-job > .careers-button { grid-column:2;justify-self:end; }.careers-hero { min-height:560px; }.careers-company { gap:40px; } }
@media(max-width:700px) { .careers-nav { padding:8px 16px; }.careers-brand img { width:126px;height:42px; }.careers-brand > span { display:none; }.careers-account { gap:8px;font-size:12px; }.careers-account .language-selector { display:none; }.careers-account .careers-button { padding:8px 12px;font-size:12px; }.careers-hero { grid-template-columns:1fr; }.careers-hero-copy { padding:46px 24px 26px; }.careers-hero-foot { padding-top:40px; }.careers-hero-art { min-height:300px; }.careers-art-caption { bottom:30px;left:42px; }.careers-art-caption p { font-size:28px; }.careers-company { grid-template-columns:1fr;gap:10px;padding-top:48px;padding-bottom:48px; }.careers-company-copy > p { font-size:18px; }.careers-section-title { display:block; }.careers-filters { grid-template-columns:1fr;gap:16px; }.careers-job { grid-template-columns:1fr;gap:22px;padding:24px; }.careers-job > .careers-button { grid-column:auto;justify-self:start; }.careers-pagination,.careers-footer { flex-wrap:wrap; }.careers-pagination nav { width:100%;justify-content:space-between; }.careers-opportunities { padding-bottom:48px; } }
@media(prefers-reduced-motion:reduce) { .careers-site .careers-button,.careers-job { transition:none; } }

.careers-brand img { background:transparent;padding:0;border-radius:0;box-sizing:border-box; }
/* Account pages share the public navigation and careers visual language. */
.careers-site.careers-auth { min-height:100svh;display:flex;flex-direction:column;background:var(--surface); }
.careers-site.careers-auth .login-page { display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:0;align-items:stretch;flex:1;min-height:0;max-width:none;width:100%;margin:0;padding:0;border:0;border-radius:0;background:var(--surface);box-shadow:none;overflow:hidden; }
.careers-site.careers-auth .sign-in-panel { display:flex;flex-direction:column;justify-content:center;padding:56px clamp(32px,5vw,88px);border:0;border-radius:0;background:var(--account-surface);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none; }
.careers-site.careers-auth .login-form { max-width:460px;padding:0; }
.careers-site.careers-auth .panel-footer { width:100%;max-width:460px;margin:0 auto; }
.careers-site.careers-auth .form-heading h1 { font-size:30px;line-height:1.2;letter-spacing:-.8px; }
.careers-site.careers-auth .form-heading .eyebrow { font-size:10px;letter-spacing:.16em;color:var(--text-muted); }
.careers-site.careers-auth .form-heading > p:last-child { line-height:1.7; }
.careers-site.careers-auth .registration-button { background:var(--account-surface); }
.careers-site.careers-auth .registration-button:hover { background:var(--accent-surface); }
.careers-site.careers-auth .portal-note { margin-top:24px;padding-top:18px;color:var(--text-muted); }
.careers-auth-story { display:flex;flex-direction:column;justify-content:space-between;gap:48px;min-height:620px;padding:56px clamp(32px,5vw,88px);color:var(--surface);background:linear-gradient(0deg,var(--main) 3%,color-mix(in srgb,var(--main) 80%,var(--clear)) 55%,color-mix(in srgb,var(--main) 30%,var(--clear))),url('personalized/login/1/recruitment-background.png') center/cover; }
.careers-auth-story h2 { font-size:clamp(30px,3.2vw,46px);font-weight:600;line-height:1.15;letter-spacing:-.035em;margin:0 0 24px; }
.careers-auth-story h2 em { font-family:Georgia,serif;font-weight:400; }
.careers-auth-story p { max-width:330px;font-size:16px;line-height:1.8;color:var(--on-brand-muted);margin:0 0 30px; }
.careers-auth-story-note { font-size:12px;color:var(--on-brand-muted); }
.careers-auth-footer { display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:none;width:100%;box-sizing:border-box;margin:0;padding:24px 4.5%;border-top:1px solid var(--border);background:var(--surface);font-size:12px;color:var(--text-muted); }
@media(max-width:1200px) { .careers-site.careers-auth .login-page { grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0; }.careers-auth-story { padding:32px; }.careers-site.careers-auth .sign-in-panel { padding:32px; }.careers-auth-footer { width:100%; } }
@media(max-width:700px) { .careers-site.careers-auth .login-page { grid-template-columns:minmax(0,1fr);width:100%;margin:0; }.careers-auth-story { display:none; }.careers-site.careers-auth .sign-in-panel { padding:30px 24px 24px; }.careers-site.careers-auth .form-heading h1 { font-size:27px; }.careers-auth-footer { width:100%;flex-wrap:wrap; }.careers-account { flex-wrap:wrap; }.careers-account .language-selector { display:block; }.careers-nav nav { flex-wrap:wrap; } }
.careers-site.careers-auth .login-form,.careers-site.careers-auth .panel-footer { position:relative; }

.careers-site.careers-auth .sigma-input { background:var(--surface); }

/* Restrained account typography and crisp surfaces. */
.careers-site.careers-auth .form-heading h1 { font-weight:600;letter-spacing:-.65px;line-height:1.25; }
.careers-site.careers-auth .form-heading .eyebrow { color:var(--text-muted);letter-spacing:.18em; }
.careers-site.careers-auth .registration-button { background:var(--clear);border-color:var(--editor-border); }

/* The ESS folder-driven carousel is contained within the left 60% panel. */
.careers-site.careers-auth .careers-auth-story { position:relative;isolation:isolate;overflow:hidden;justify-content:center;background:var(--main); }
.careers-auth-story .brand-panel { width:100%;flex:1;justify-content:center; }
.careers-site.careers-auth .careers-auth-story .brand-message { display:block;width:100%;margin:auto 0;padding:48px 0; }
.careers-auth-story .brand-message h2 { font-size:clamp(34px,3.5vw,56px);line-height:1.15;letter-spacing:-.035em; }
.careers-auth-story .brand-message h2 span { font-family:Georgia,serif;font-style:italic;font-weight:400; }
.careers-auth-story .image-shading { background:linear-gradient(0deg,var(--main),color-mix(in srgb,var(--main) 65%,var(--clear)) 60%,color-mix(in srgb,var(--main) 35%,var(--clear))); }
/* Account control matches ApplicantWorkspace. */

.public-account-menu .employee-button { position: relative; z-index: 42; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 12px; border: 0; border-radius: 8px; transition: background-color 150ms ease-out; background: var(--surface); color: var(--font); text-align: left; }
.public-account-menu .employee-photo { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; border: 1px solid var(--border); flex-shrink: 0; }
.public-account-menu .initials { display: grid; place-items: center; background: var(--accent-surface); font-size: 13px; font-weight: 600; }
.public-account-menu .employee-summary strong, .public-account-menu .employee-summary small { display: block; }
.public-account-menu .employee-summary strong { font-size: 14px; font-weight: 600; }
.public-account-menu .employee-summary small { margin-top: 2px; font-size: 14px; color: var(--text-muted); }
.public-account-menu .profile-chevron { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); margin-left: 8px; transition: transform 150ms ease-out; }
.public-account-menu .employee-button[aria-expanded="true"] .profile-chevron { transform: rotate(180deg); }
.public-account-menu .popup-dismiss { position: fixed; inset: 0; z-index: 40; border: 0; background: var(--clear); cursor: default; }
.public-account-menu .employee-popup { position: absolute; z-index: 43; top: calc(100% + 12px); right: 0; width: min(340px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--container-radius); box-shadow: var(--container-shadow); overflow: hidden; animation: account-open 150ms ease-out; }
.public-account-menu .account-actions { padding: 8px; }
.public-account-menu .employee-popup .account-action { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 12px; width: 100%; box-sizing: border-box; border: 0; border-radius: var(--dxds-border-radius-30); background: var(--clear); color: var(--font); text-align: left; text-decoration: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 150ms ease-out; }
.public-account-menu .employee-popup .account-action:hover { background: var(--accent-surface); }
.public-account-menu .employee-popup .account-action:focus-visible { outline: 2px solid var(--main); outline-offset: -2px; background: var(--accent-surface); }
.public-account-menu .employee-popup form { margin: 0; padding: 8px; border-top: 1px solid var(--border); }
.public-account-menu .employee-popup .logout-button { color: var(--error-text); }
.public-account-menu .employee-popup .logout-button:hover, .public-account-menu .employee-popup .logout-button:focus-visible { background: var(--error-background); }
.public-account-menu .employee-button[aria-expanded="true"] { background: var(--accent-surface); }
.public-account-menu .employee-summary { min-width: 0; }
.public-account-menu .employee-summary strong, .public-account-menu .employee-summary small { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.public-account-menu { position:relative; }
.careers-nav .public-account-menu nav.account-actions { display:block; width:auto; padding:8px; border:0; }
@media (hover:hover) { .public-account-menu .employee-button:hover:not(:disabled) { background:var(--page-background); } }
.public-account-menu .employee-button:active:not(:disabled), .public-account-menu .employee-button[aria-expanded="true"] { background:var(--accent-surface); }
@keyframes account-open { from { opacity:0;transform:translateY(-4px); } to { opacity:1;transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) {
    .public-account-menu .employee-popup { animation:none; }
    .public-account-menu .employee-button,.public-account-menu .profile-chevron,.public-account-menu .account-action { transition:none; }
}
@media (max-width:900px) {
    .public-account-menu .employee-button { min-height:44px;padding:2px;gap:0; }
    .public-account-menu .employee-summary,.public-account-menu .profile-chevron { display:none; }
}


.public-account-menu .popup-heading { display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--accent-surface); border-bottom: 1px solid var(--border); }
.public-account-menu .popup-heading strong, .public-account-menu .popup-heading small { display: block; }
.public-account-menu .popup-heading strong { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--font); }
.public-account-menu .popup-heading small { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.public-account-menu .account-icon { flex: 0 0 20px; width: 20px; height: 20px; background: currentColor; mask: var(--account-icon) center / contain no-repeat; }
.public-account-menu .account-icon-password { --account-icon: url('images/icon/account-password.svg'); }

.public-account-menu .account-icon-logout { --account-icon: url('images/icon/account-logout.svg'); }
.public-account-menu .popup-photo { flex: 0 0 46px; width: 46px; height: 46px; object-fit: cover; border-radius: 50%; border: 2px solid var(--surface); }
.public-account-menu .popup-photo.initials { display: grid; place-items: center; background: var(--surface); color: var(--font); font-size: 15px; font-weight: 600; }
.public-account-menu .popup-identity { min-width: 0; overflow-wrap: anywhere; }
.account-icon-portal { --account-icon: url('images/icon/account-portal.svg'); }
.account-icon-website { --account-icon: url('images/icon/account-website.svg'); }


/* Consistent website / applicant portal switch in both headers. */
.careers-site .portal-switch-button, .portal-switch-button {
    display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
    min-height:42px;padding:10px 20px;border:1px solid var(--main);
    border-radius:var(--container-radius);background:var(--main);color:var(--surface);
    font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;white-space:nowrap;
}
.careers-site .portal-switch-button:hover, .portal-switch-button:hover { background:var(--primary-hover);color:var(--surface); }
.portal-switch-button:focus-visible { outline:2px solid var(--main);outline-offset:3px; }
@media(max-width:900px) {
    .careers-site .portal-switch-button, .portal-switch-button { min-height:36px;padding:8px 10px;font-size:12px; }
    .profile-header-account { gap:8px; }
}


/* Match the Applicant Portal header spacing at its mobile breakpoint. */
@media(max-width:900px) {
    .careers-nav { min-height:64px;padding:8px 16px;gap:8px; }
    .careers-account { gap:8px; }
}

.powered-by { font-size:12px;text-decoration:none; }
.powered-by:hover { text-decoration:underline; }
.powered-by:focus-visible { outline:2px solid currentColor;outline-offset:3px; }
.sidebar-footer .powered-by { display:block;color:var(--surface);font-size:12px;font-weight:600; }
.sidebar-footer .sidebar-powered-brand { display:flex;align-items:center;gap:10px;color:var(--surface);font-size:12px;font-weight:400; }
.sidebar-powered-brand a { display:inline-flex;align-items:center; }
.sidebar-powered-brand img { display:block;width:112px;height:42px;object-fit:contain; }
.sidebar-powered-icon { display:flex;width:100%;justify-content:center;align-items:center; }
.sidebar-powered-icon img { display:block;width:36px;height:36px;object-fit:contain; }
.careers-footer { flex-wrap:wrap;align-items:center; }

.invitation-response-page { width:100%;max-width:1440px;margin:0 auto;padding:40px 32px 64px; }
.invitation-response-page > h1 { margin:0 0 24px;font-size:28px; }
@media(max-width:700px) { .invitation-response-page { padding:24px 16px 40px; } }


/* Keep ESS slide indicators visible whenever the login image panel is shown. */
.careers-site.careers-auth .careers-auth-story .carousel-controls { display:flex; }

/* Application-owned navigation and footer */
.company-home .careers-footer { border-top:1px solid var(--border); }
.careers-nav > nav > a { padding:8px 0;border-bottom:2px solid var(--clear); }
.careers-nav > nav > a.active { border-bottom-color:var(--main);font-weight:600; }
.careers-footer.company-copyright { justify-content:center;padding:34px 24px;border-top:1px solid var(--border);letter-spacing:.03em; }
.careers-footer.company-copyright { padding:14px 24px; }
.careers-footer.company-copyright { flex-wrap:nowrap;gap:12px;white-space:nowrap;font-size:12px; }
.careers-footer.company-copyright>a:first-child { font-size:inherit;font-weight:400; }
.copyright-divider { margin:0 8px; }
@media(max-width:480px) {
.careers-footer.company-copyright { font-size:10px;gap:6px;padding:14px 8px; }
}
.brand-attribution { display:flex;justify-content:center;align-items:center;gap:clamp(16px,3vw,36px);margin:0;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.6;white-space:nowrap; }
.brand-attribution a { color:var(--font);font-size:inherit;font-weight:inherit;text-decoration:none; }
.brand-attribution a:hover { text-decoration:underline; }
.login-provider-divider { display:flex;align-items:center;gap:14px;margin:18px 0;color:var(--text-muted);font-size:13px; }
.login-provider-divider::before,.login-provider-divider::after { content:'';height:1px;flex:1;background:var(--border); }
.google-login-form { margin:0 0 14px; }
.google-login-button { display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:12px 20px;border:1px solid var(--editor-border);border-radius:var(--container-radius);background:var(--clear);color:var(--font);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s; }
.google-login-button:hover { background:var(--accent-surface); }
.google-login-button { gap:12px; }
.google-login-button img { flex:0 0 20px;width:20px;height:20px;object-fit:contain; }
.google-login-button:focus-visible { outline:2px solid var(--main);outline-offset:3px; }
.google-login-button:disabled { opacity:.6;cursor:default; }
.brand-attribution a:focus-visible { outline:2px solid currentColor;outline-offset:4px; }
.careers-site.careers-auth .panel-footer .brand-attribution { margin-top:24px;padding-top:18px; }
@media(max-width:800px) {
.brand-attribution { font-size:11px;gap:16px; }
}
@media(max-width:480px) {
.brand-attribution { font-size:clamp(8px,2.3vw,11px);gap:12px; }
}
.careers-nav>nav { gap:32px;font-size:16px; }
.careers-nav>nav>a { display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 4px;line-height:22px;font-weight:500; }
.careers-nav>nav>a.active { font-weight:600; }
.careers-nav>nav>a:hover { border-bottom-color:var(--main); }
.careers-nav>nav>a:focus-visible { outline:2px solid var(--main);outline-offset:4px; }
@media(min-width:1101px) {
.careers-nav { min-height:80px;padding:12px max(32px,calc((100% - 1440px)/2)); }
}
@media(max-width:800px) {
.careers-nav>nav { font-size:15px;gap:28px; }
}

/* Public footer: aligned with the navigation, compact and anchored on short pages. */
.careers-site:not(.careers-auth) { min-height:100svh;display:flex;flex-direction:column; }
.careers-site:not(.careers-auth)>main { flex:1; }
.careers-footer.company-copyright {
    background:var(--surface);
    border-top:1px solid var(--border);
    padding:20px max(32px,calc((100% - 1440px)/2));
    margin-top:auto;
    flex-shrink:0;
}
.careers-footer.company-copyright .brand-attribution {
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    margin:0;
    font-size:13px;
    line-height:1.6;
    color:var(--text-muted);
    white-space:normal;
}
.careers-footer.company-copyright .brand-attribution>.brand-copyright {
    order:-1;
    color:var(--text-muted);
}
.careers-footer.company-copyright .brand-attribution>span a {
    color:inherit;
    font-weight:inherit;
}
@media(max-width:700px) {
    .careers-footer.company-copyright { padding:20px 24px; }
    .careers-footer.company-copyright .brand-attribution {
        flex-direction:column;
        justify-content:center;
        gap:8px;
        text-align:center;
        font-size:12px;
    }
}

.sidebar-version { display:block;color:var(--surface);font-size:12px;font-weight:600;letter-spacing:.5px; }


/* Compact public header: brand and language above navigation and account actions. */
@media (max-width:700px) {
    .careers-nav { display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:6px;row-gap:10px;padding:12px 16px;min-height:0;align-items:center; }
    .careers-nav > .careers-brand { grid-column:1 / 8;grid-row:1;justify-self:start; }
    .careers-nav > .careers-brand img { width:140px;height:46px;max-width:100%; }
    .careers-nav > .careers-account { display:contents; }
    .careers-nav > .careers-account > .language-selector { display:block;grid-column:8 / -1;grid-row:1;justify-self:end;min-width:0; }
    .careers-nav .language-trigger { min-height:44px;padding:8px 4px;gap:6px;font-size:12px; }
    .careers-nav > nav { grid-column:1 / 6;grid-row:2;order:initial;width:auto;min-width:0;justify-content:flex-start;flex-wrap:nowrap;gap:12px;border:0;padding:0;font-size:13px; }
    .careers-nav > nav > a { min-height:44px;padding:10px 0;line-height:20px; }
    .careers-nav > .careers-account > a:not(.careers-button):not(.portal-switch-button) { grid-column:6 / 8;grid-row:2;display:flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;line-height:16px;text-align:center; }
    .careers-nav > .careers-account > .careers-button { grid-column:8 / -1;grid-row:2;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;font-size:12px;line-height:16px;text-align:center;white-space:normal;border-radius:var(--container-radius); }
    .careers-nav > .careers-account > .portal-switch-button { grid-column:6 / 11;grid-row:2;min-width:0;min-height:44px;padding:8px;font-size:12px;line-height:16px;white-space:normal;text-align:center; }
    .careers-nav > .careers-account > .public-account-menu { grid-column:11 / -1;grid-row:2;justify-self:end; }
}

.careers-mobile-toggle { display:none; }
.careers-mobile-menu { position:fixed;position-anchor:--careers-menu-trigger;inset:auto;top:anchor(bottom);left:anchor(left);right:auto;box-sizing:border-box;width:240px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 88px);overflow-y:auto;margin:8px 0 0;padding:12px;border:1px solid var(--border);border-radius:var(--container-radius);background:var(--surface);color:var(--font);box-shadow:var(--container-shadow); }
.careers-mobile-menu::backdrop { background:var(--clear); }
.careers-mobile-menu nav { display:flex;flex-direction:column;gap:4px; }
.careers-mobile-menu nav > a { display:flex;align-items:center;min-height:44px;padding:12px;text-decoration:none;border-radius:8px; }
.careers-mobile-menu nav > a:hover { background:var(--accent-surface); }


@media(min-width:701px) { .careers-mobile-menu { display:none !important; } }
@media(max-width:700px) {
    .careers-nav:has(> .careers-mobile-toggle) > nav { display:none; }
    .careers-mobile-toggle { anchor-name:--careers-menu-trigger;display:grid;place-items:center;grid-column:1 / 3;grid-row:2;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--font); }
    .careers-mobile-toggle:focus-visible { outline:2px solid var(--main);outline-offset:2px; }
    .careers-nav:has(.careers-mobile-menu:popover-open) .careers-mobile-toggle { background:var(--accent-surface); }
    .careers-mobile-menu nav { width:100%;margin:0;padding:0;border:0;align-items:stretch; }
}

.employee-popup .popup-heading small.account-provider { display:flex;align-items:center;gap:6px; }
.employee-popup .account-provider img { width:16px;height:16px;flex:0 0 16px;object-fit:contain; }
