/* Shared design tokens. Bootstrap remains the foundation for components and layout. */
:root {
    --ink: #17243b;
    --muted: #64738a;
    --blue: #2563eb;
    --blue-deep: #1d4ed8;
    --blue-soft: #edf3ff;
    --mist: #f5f8fc;
    --line: #e4eaf2;
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --bs-body-color: #17243b;
    --bs-body-font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --bs-border-color: #e4eaf2;
    --bs-link-color: #2563eb;
}
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #80aaff; outline-offset: 4px; }
::selection { background: #dbe8ff; color: var(--ink); }
.container { max-width: 1240px; padding-inline: 32px; }
.btn { border-radius: 8px; font-weight: 600; padding: 12px 21px; font-size: 14px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; line-height: 1.5; }
.btn-primary { --bs-btn-bg: var(--blue); --bs-btn-border-color: var(--blue); --bs-btn-hover-bg: var(--blue-deep); --bs-btn-hover-border-color: var(--blue-deep); --bs-btn-active-bg: #1841ad; --bs-btn-active-border-color: #1841ad; }
.btn-outline-primary { --bs-btn-color: var(--blue); --bs-btn-border-color: #cfddfa; --bs-btn-hover-bg: var(--blue); --bs-btn-hover-border-color: var(--blue); }
.btn-light { --bs-btn-bg: var(--mist); --bs-btn-border-color: var(--line); --bs-btn-hover-bg: #e8eef8; }
.btn-sm { padding: 9px 13px; font-size: 13px; }
.btn-link { text-decoration: none; color: var(--muted); }
.form-control, .form-select { min-height: 47px; border-color: #dce3ed; border-radius: 8px; color: var(--ink); font-size: 14px; padding: 11px 14px; background-color: #fff; }
.form-select { padding-inline-end: 38px; }
.form-control::placeholder { color: #8a96a8; opacity: 1; }
.form-control:focus, .form-select:focus { border-color: #8bb0fc; box-shadow: 0 0 0 3px #2563eb12; }
textarea.form-control { min-height: 120px; line-height: 1.75; resize: vertical; }
.form-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-text, .required-note { font-size: 12px; color: var(--muted); line-height: 1.6; }
.required-mark { color: var(--blue); }
.field-group { margin-bottom: 23px; }
.row > .field-group { margin-bottom: 0; }
.field-group:last-child { margin-bottom: 0; }
.form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.form-switch .form-check-input { width: 2.5em; height: 1.35em; cursor: pointer; }
.form-switch .form-check-label { padding-inline-start: 7px; }
.form-check-label { font-size: 14px; }
.muted { color: var(--muted); }
.plain-text { white-space: pre-line; overflow-wrap: anywhere; }
.skip-link { position: fixed; top: -100px; inset-inline-start: 20px; z-index: 2000; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.flash-area { padding-top: 24px; }
.alert { font-size: 14px; border-radius: 9px; }
.alert-success { --bs-alert-bg: #effaf4; --bs-alert-color: #216645; --bs-alert-border-color: #cdebd9; }
.alert-danger { --bs-alert-bg: #fff4f3; --bs-alert-color: #9b352d; --bs-alert-border-color: #f2d3d0; }

/* Public careers page: generous typography, calm surfaces, and one clear list. */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-nav, .admin-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-symbol { width: 42px; height: 42px; background: var(--blue); color: white; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 27px; flex-shrink: 0; }
.brand-symbol-small { width: 31px; height: 31px; font-size: 20px; }
.company-logo { width: auto; height: 42px; max-width: 160px; object-fit: contain; flex-shrink: 0; }
.company-logo-small { height: 31px; max-width: 110px; }
.company-logo-preview { min-height: 64px; display: flex; align-items: center; }
.company-logo-preview .company-logo { height: 64px; max-width: 240px; }
.brand-name { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; overflow-wrap: anywhere; }
.brand-subtitle { display: block; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; margin-top: 5px; }
.header-actions { display: flex; align-items: center; gap: 27px; flex-shrink: 0; }
.header-link { color: var(--ink); font-size: 13px; font-weight: 500; align-items: center; gap: 8px; }
.language-form { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.language-form > .bi { font-size: 15px; }
.language-select { max-width: 115px; border: 0; color: var(--ink); background: transparent; font-size: 12px; cursor: pointer; padding-block: 8px; }
.public-main { min-height: calc(100vh - 212px); }
.hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding-top: 82px; padding-bottom: 85px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; flex: 1; }
.hiring-note { color: var(--blue); display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; margin-bottom: 25px; }
.hiring-note > span { height: 6px; width: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.hero h1 { font-size: clamp(43px, 5.4vw, 76px); line-height: 1.08; letter-spacing: -3.6px; font-weight: 600; max-width: 790px; margin-bottom: 26px; }
.hero-copy > p { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 550px; margin-bottom: 27px; overflow-wrap: anywhere; white-space: pre-line; }
.hero-jump { display: inline-flex; gap: 13px; align-items: center; font-size: 13px; font-weight: 600; }
.hero-jump .bi { border-radius: 50%; background: var(--blue-soft); width: 29px; height: 29px; display: grid; place-items: center; }
.hero-art { position: relative; width: 254px; height: 254px; flex-shrink: 0; margin-inline-end: 20px; }
.hero-orbit { position: absolute; border: 1px solid #e1e9f8; border-radius: 50%; inset: 0; }
.orbit-two { inset: 23px; border-style: dashed; border-color: #cfddf5; }
.hero-plus { width: 152px; height: 152px; background: var(--blue-soft); border-radius: 50%; display: grid; place-items: center; color: var(--blue); font-size: 96px; position: absolute; inset: 51px; }
.hero-plus .bi { display: flex; }
.orbit-dot { height: 14px; width: 14px; background: var(--blue); border: 4px solid white; border-radius: 50%; position: absolute; top: 25px; inset-inline-end: 36px; box-sizing: content-box; }
.positions-section { background: var(--mist); padding: 55px 0 72px; scroll-margin-top: 0; }
.positions-page { background: var(--mist); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.section-heading h1, .section-heading h2 { font-size: 29px; font-weight: 600; letter-spacing: -.9px; margin-bottom: 6px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.count-label { font-size: 12px; font-weight: 500; color: #54647c; background: #eaf0f8; border-radius: 6px; padding: 7px 12px; white-space: nowrap; }
.search-box { border: 1px solid #dce3ee; background: white; border-radius: 10px; padding: 7px; display: flex; align-items: center; gap: 15px; }
.search-box > .bi { margin-inline-start: 13px; color: var(--muted); font-size: 18px; }
.search-box input { background: transparent; border: 0; flex: 1; min-width: 0; padding: 8px 0; font-size: 14px; color: var(--ink); }
.search-box input::placeholder { color: #8792a4; }
.search-box input:focus { outline: 0; }
.search-box:focus-within { border-color: #8bb0fc; box-shadow: 0 0 0 3px #2563eb12; }
.search-box .btn { padding-inline: 28px; }
.job-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 15px 0 28px; }
.job-filters > div { min-width: 155px; }
.job-filters .form-select { min-height: 40px; font-size: 12px; background-color: transparent; padding-block: 9px; }
.clear-filters { font-size: 12px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.job-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.job-table { margin: 0; font-size: 13px; --bs-table-bg: transparent; --bs-table-border-color: var(--line); }
.job-table th { font-weight: 500; font-size: 11px; color: #718097; padding: 18px 20px; background: #fafcff; border-bottom-width: 1px; }
.job-table td { padding: 24px 20px; vertical-align: middle; color: #56657b; }
.job-table th:first-child, .job-table td:first-child { padding-inline-start: 26px; }
.job-table tr:last-child td { border-bottom: 0; }
.job-row { position: relative; }
.job-row:hover { background: #f9fbff; }
.job-name-cell { min-width: 260px; }
.job-title-link { font-size: 15px; color: var(--ink); font-weight: 600; display: inline-block; margin-bottom: 6px; }
.job-title-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.job-title-link:focus-visible::after { outline: 3px solid #80aaff; outline-offset: -3px; border-radius: 6px; }
.job-mode { color: #8290a4; display: flex; align-items: center; gap: 6px; font-size: 11px; }
.department-chip { display: inline-flex; border: 1px solid #e2e9f3; background: #f8fafd; border-radius: 5px; color: #596b84; padding: 4px 9px; font-size: 11px; font-weight: 500; }
.job-salary { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.job-arrow { color: var(--blue) !important; font-size: 20px; padding-inline-start: 0 !important; }
.job-table .job-apply-cell { text-align: end; }
.job-apply-button { position: relative; z-index: 2; white-space: nowrap; }
.job-row-actions { display: flex; justify-content: flex-end; gap: 8px; position: relative; z-index: 2; }
.job-open-button { white-space: nowrap; }
.pagination-wrap { margin-top: 25px; }
.pagination { --bs-pagination-border-color: var(--line); --bs-pagination-color: var(--muted); --bs-pagination-active-bg: var(--blue); --bs-pagination-active-border-color: var(--blue); margin-bottom: 0; font-size: 13px; }
.pagination-wrap nav p, .panel-pagination nav p { font-size: 12px; color: var(--muted) !important; }
.pagination-wrap nav { gap: 20px; }
.empty-state { text-align: center; padding: 70px 24px; }
.empty-state > .bi { width: 64px; height: 64px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border-radius: 20px; font-size: 26px; margin: 0 auto 24px; }
.empty-state h2, .empty-state h3 { font-size: 22px; letter-spacing: -.6px; margin-bottom: 12px; }
.empty-state p { color: var(--muted); font-size: 14px; max-width: 430px; margin: 0 auto 24px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 31px; padding-bottom: 31px; }
.footer-company { display: block; font-weight: 600; font-size: 14px; }
.footer-tagline { font-size: 11px; color: #7e8ba0; }
.footer-links { display: flex; align-items: center; gap: 27px; font-size: 11px; color: #7e8ba0; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }

/* Role and application pages retain plain, administrator-written content. */
.detail-container { padding-top: 34px; padding-bottom: 76px; }
.back-link { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; font-weight: 500; margin-bottom: 35px; }
.job-detail-header { border-bottom: 1px solid var(--line); padding-bottom: 38px; margin-bottom: 40px; }
.job-detail-header .department-chip { margin-bottom: 18px; }
.job-detail-header h1 { font-size: clamp(35px, 4vw, 54px); line-height: 1.15; letter-spacing: -1.9px; font-weight: 600; margin-bottom: 22px; overflow-wrap: anywhere; max-width: 1000px; }
.detail-metadata { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: var(--muted); }
.detail-metadata > span { display: flex; align-items: center; gap: 7px; }
.detail-metadata .bi { color: #8b9bb1; }
.story-section { margin-bottom: 37px; }
.story-section h2 { font-size: 21px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 15px; }
.prose { color: #5b6b81; font-size: 15px; line-height: 1.9; }
.role-summary { position: sticky; top: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fafcff; padding: 26px; }
.summary-symbol { display: grid; place-items: center; width: 40px; height: 40px; color: var(--blue); background: var(--blue-soft); border-radius: 10px; margin-bottom: 18px; font-size: 19px; }
.role-summary h2 { font-size: 19px; font-weight: 600; letter-spacing: -.4px; margin-bottom: 24px; }
.role-summary dl { margin-bottom: 28px; }
.role-summary dl > div { margin-bottom: 18px; }
.role-summary dt { font-size: 11px; font-weight: 400; color: #7c8ba1; margin-bottom: 4px; }
.role-summary dd { font-size: 13px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.job-detail-page { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.job-apply-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 1030; padding: 15px 0 calc(15px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 22px #17243b08; }
.job-apply-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.job-apply-caption { flex: 1; min-width: 0; }
.job-apply-title { display: block; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-apply-location { color: var(--muted); font-size: 12px; }
.job-apply-bar .btn { flex-shrink: 0; }
.application-section { margin-top: 39px; padding-top: 55px; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.application-intro { padding-bottom: 30px; }
.application-symbol { display: grid; place-items: center; width: 49px; height: 49px; color: var(--blue); background: var(--blue-soft); border-radius: 12px; font-size: 24px; margin-bottom: 22px; }
.application-intro h2 { font-size: 28px; letter-spacing: -.9px; line-height: 1.2; margin-bottom: 15px; }
.application-intro > p { color: var(--muted); font-size: 14px; max-width: 280px; line-height: 1.8; }
.privacy-note { margin-top: 30px; font-size: 11px; color: #8a97a8; display: flex; align-items: flex-start; gap: 9px; max-width: 270px; }
.privacy-note .bi { color: #7692bb; margin-top: 2px; font-size: 15px; }
.application-form { padding: 30px; background: var(--mist); border-radius: 12px; }
.required-note { margin-bottom: 20px; }
/* Separate, server-rendered application steps retain drafts in the session. */
.apply-page { max-width: 850px; padding-top: 34px; padding-bottom: 64px; }
.application-modal .modal-dialog { max-width: 850px; }
.application-modal .modal-content { border: 0; border-radius: 16px; box-shadow: 0 24px 90px #13294b30; }
.application-modal .modal-header { padding: 18px 26px; border-color: var(--line); }
.application-modal .modal-body { padding: 26px; }
.application-modal .apply-page { padding: 0; max-width: none; }
.application-modal .apply-page-heading h1 { font-size: clamp(25px, 4vw, 34px); }
.application-modal .success-section { padding: 35px 10px; }
.application-modal .success-section h1 { font-size: 30px; }
@media (max-width: 575.98px) {
    .application-modal .modal-dialog { max-width: none; }
    .application-modal .modal-content { border-radius: 0; }
    .application-modal .modal-body { padding: 18px; }
}
.apply-page-heading .department-chip { margin-bottom: 17px; }
.apply-page-heading h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; line-height: 1.2; letter-spacing: -1px; overflow-wrap: anywhere; }
.apply-progress { margin: 30px 0; }
.apply-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.apply-progress-track { height: 6px; background: var(--line); border-radius: 8px; overflow: hidden; }
.apply-progress-fill { height: 100%; background: var(--blue); border-radius: inherit; transition: width .45s ease; }
.application-steps { display: flex; list-style: none; padding: 0; margin: 16px 0 0; gap: 12px; }
.application-steps li { flex: 1; color: var(--muted); min-width: 0; }
.application-steps a, .step-label { display: flex; gap: 10px; align-items: center; font-size: 13px; min-height: 64px; padding: 12px; border-radius: 8px; border: 1px solid var(--line); height: 100%; }
.application-steps a:hover { background: var(--mist); }
.application-steps .current .step-label { background: var(--blue-soft); border-color: #a9c4fd; }
.application-steps a { color: var(--blue); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); color: var(--muted); flex-shrink: 0; }
.application-steps .current { color: var(--ink); font-weight: 600; }
.application-steps .current .step-number { background: var(--blue); color: #fff; }
.application-steps .completed .step-number { background: var(--blue-soft); color: var(--blue); }
.application-booking-note { display: flex; gap: 9px; align-items: flex-start; margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.application-booking-note .bi { color: var(--blue); flex-shrink: 0; }
@media (max-width: 575.98px) {
    .application-steps-with-booking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.apply-step-panel { border: 1px solid var(--line); border-radius: 12px; padding: 32px; animation: application-step-arrive .25s ease-out; }
@keyframes application-step-arrive { from { opacity: .5; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.apply-step-panel h2 { font-size: 25px; font-weight: 600; letter-spacing: -.5px; }
.apply-step-description { color: var(--muted); margin-bottom: 28px; }
.apply-step-actions { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.apply-step-actions .btn { width: auto; min-width: 104px; min-height: 48px; padding: 12px 22px; white-space: normal; overflow-wrap: break-word; text-align: center; line-height: 1.5; }
.apply-step-actions .btn-primary { min-width: 160px; max-width: calc(100% - 120px); }
.apply-step-actions .btn-light { background: #fff; border-color: #dce3ed; color: #52627a; }
.apply-step-actions .btn-light:hover { background: var(--mist); border-color: #b8c8df; color: var(--ink); }
.apply-step-actions .btn > i, .apply-step-actions .spinner-border { flex-shrink: 0; }
.apply-submit-spinner { --bs-spinner-animation-speed: 1.4s; }
.application-review-section + .application-review-section { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 25px; }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.review-heading h3 { font-size: 17px; margin: 0; }
.review-heading a { font-size: 13px; }
.application-review { margin-bottom: 0; }
.application-review > div { margin-bottom: 16px; }
.application-review dt { font-size: 12px; font-weight: 400; color: var(--muted); margin-bottom: 4px; }
.application-review dd { margin: 0; overflow-wrap: anywhere; }
.apply-privacy { display: flex; align-items: flex-start; gap: 9px; margin: 26px 0 0; color: var(--muted); font-size: 12px; }
.resume-method { margin-bottom: 22px; }
.resume-method-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.resume-method-options label { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 18px 14px; cursor: pointer; min-width: 0; transition: background .2s, border-color .2s; }
.resume-method-options label > span { flex: 1; min-width: 0; }
.resume-method-options strong { display: block; font-size: 14px; font-weight: 600; }
.resume-method-options small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.resume-method-options .bi { color: var(--blue); font-size: 20px; }
.resume-method-options label:focus-within { outline: 3px solid #2563eb25; outline-offset: 2px; }
.resume-method-options label:has(input:checked) { background: var(--blue-soft); border-color: #a9c4fd; }
.resume-method-options input { accent-color: var(--blue); }
.resume-current-file { color: var(--blue); overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; }
.resume-current-file[hidden] { display: none; }
.resume-upload-panel { border: 1px dashed #a9c4fd; border-radius: 12px; padding: 24px; background: #f8faff; }
.resume-upload-icon { display: block; color: var(--blue); font-size: 32px; margin-bottom: 12px; }
.resume-upload-panel .form-control { width: 100%; min-width: 0; background: white; }
.resume-upload-panel .form-label { display: block; }
.resume-link-panel { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfe; }
.resume-link-panel .form-text { font-size: 13px; line-height: 1.75; }
.resume-link-panel .field-group { margin: 0; }
.rich-text { overflow-wrap: anywhere; }
.rich-text p { margin-bottom: 1em; }
.rich-text ul, .rich-text ol { padding-inline-start: 1.6em; margin-block: 1em; }
.rich-text li { padding-inline-start: .2em; margin-bottom: .4em; }
.rich-text h2, .rich-text h3 { margin-top: 1.5em; margin-bottom: .65em; }
.rich-text blockquote { border-inline-start: 3px solid #b6cdfb; padding-inline-start: 18px; color: var(--muted); margin-block: 20px; }
[data-rich-description] .ql-toolbar { border-color: #dce3ed; border-radius: 8px 8px 0 0; background: #f8faff; padding: 12px 8px; }
[data-rich-description] .ql-container { border-color: #dce3ed; border-radius: 0 0 8px 8px; font-family: inherit; font-size: 15px; }
[data-rich-description] .ql-editor { min-height: 360px; line-height: 1.8; padding: 20px; }
[data-rich-description] .ql-editor:focus { box-shadow: inset 0 0 0 2px #8bb0fc; border-radius: 0 0 8px 8px; }
[dir="rtl"] .ql-editor { text-align: right; }
.os-routing-tabs { gap: 5px; flex-wrap: wrap; margin-bottom: 23px; }
.os-routing-tabs .nav-link { font-size: 13px; }
@media (max-width: 480px) {
    .resume-method-options { grid-template-columns: minmax(0, 1fr); }
    .apply-step-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
    .apply-step-actions .btn { width: 100%; min-width: 0; max-width: none; padding-inline: 12px; }
    .resume-upload-panel, .resume-link-panel { padding: 18px; }
    .job-row-actions .btn { flex: 1; min-width: 0; white-space: normal; }
    .job-row-actions .job-apply-button { width: auto; }
    .application-steps { gap: 10px; }
    .application-steps a, .step-label { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; padding: 10px; }
    .apply-step-panel { padding: 22px; }
}
.success-section { padding-top: 110px; padding-bottom: 125px; text-align: center; max-width: 750px; }
.success-symbol { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 30px; background: var(--blue-soft); color: var(--blue); font-size: 42px; display: grid; place-items: center; box-shadow: 0 0 0 12px #f7faff; }
.success-section h1 { font-size: 43px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 22px; }
.success-section p { max-width: 520px; margin: 0 auto 30px; color: var(--muted); line-height: 1.8; }
.login-container { padding-top: 60px; padding-bottom: 75px; }
.login-card { max-width: 440px; margin: 0 auto; padding: 37px; border: 1px solid var(--line); border-radius: 16px; }
.login-symbol { display: grid; place-items: center; width: 48px; height: 48px; font-size: 26px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); margin-bottom: 24px; }
.login-card h1 { font-size: 30px; letter-spacing: -.9px; font-weight: 600; }
.login-card > p { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.login-back { margin-top: 24px; margin-bottom: 0; font-size: 11px; width: 100%; justify-content: center; }

/* Admin workspace: a quiet, compact navigation and readable forms. */
.admin-body { background: #f6f8fc; }
.admin-header { background: white; border-bottom: 1px solid var(--line); }
.admin-header-inner { padding-inline: 30px; min-height: 83px; }
.admin-header .brand-name { font-size: 18px; }
.admin-header .brand-symbol { width: 37px; height: 37px; font-size: 24px; }
.admin-shell { display: flex; align-items: stretch; min-height: calc(100vh - 84px); }
.admin-sidebar { width: 225px; flex-shrink: 0; padding: 27px 17px; border-inline-end: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.sidebar-link { display: flex; align-items: center; gap: 11px; padding: 12px 14px; margin-bottom: 5px; color: #68788f; border-radius: 8px; font-size: 12px; font-weight: 500; }
.sidebar-link > .bi { font-size: 17px; }
.sidebar-link:hover { background: #f6f8fc; color: var(--ink); }
.sidebar-link.active { color: var(--blue); background: var(--blue-soft); }
.sidebar-note { margin-top: auto; padding: 60px 14px 5px; }
.sidebar-note .brand-symbol { background: #edf2fa; color: #8da5c8; }
.sidebar-note p { margin-top: 14px; color: #95a1b3; font-size: 11px; max-width: 130px; }
.admin-main { min-width: 0; flex: 1; padding: 40px 42px 60px; max-width: 1600px; }
.admin-main .flash-area { max-width: none; padding: 0; }
.admin-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 31px; }
.admin-page-heading h1 { font-weight: 600; font-size: 32px; letter-spacing: -1.1px; margin-bottom: 9px; overflow-wrap: anywhere; }
.admin-page-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.admin-page-heading > .btn { white-space: nowrap; }
.admin-main > .back-link { margin-bottom: 22px; }
.admin-panel { border: 1px solid var(--line); background: #fff; border-radius: 11px; overflow: hidden; }
.panel-heading { padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.3px; }
.panel-heading p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.panel-body { padding: 27px; }
.panel-pagination { padding: 0 24px; }
.panel-pagination:has(nav) { padding: 20px 24px; border-top: 1px solid var(--line); }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 500; }
.admin-table { margin: 0; --bs-table-border-color: var(--line); font-size: 12px; }
.admin-table th { font-weight: 500; color: #8290a4; font-size: 11px; white-space: nowrap; background: #fbfcfe; padding: 16px 22px; }
.admin-table td { color: #61718a; vertical-align: middle; padding: 21px 22px; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fcfdff; }
.table-title { color: var(--ink); font-size: 13px; font-weight: 600; display: block; min-width: 160px; }
.table-subtitle { display: block; color: #93a0b2; margin-top: 4px; font-size: 11px; }
.table-actions { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.icon-button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: white; color: #667c9b; border-radius: 6px; font-size: 13px; }
.icon-button:hover { border-color: #a9c1f0; color: var(--blue); background: var(--blue-soft); }
.icon-button.danger:hover { background: #fff2f1; border-color: #efc6c2; color: #b54e43; }
.status-badge { display: inline-flex; align-items: center; white-space: nowrap; gap: 6px; font-size: 10px; padding: 5px 9px; background: #f1f4f9; color: #718199; border-radius: 5px; }
.status-badge > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-new { background: #edf3ff; color: #4875c4; }
.status-reviewing { background: #fff8e8; color: #a68030; }
.status-shortlisted, .status-hired { background: #ecf8f1; color: #3d8963; }
.status-rejected { background: #fcf0ee; color: #ad7069; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-block { position: relative; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 22px 24px; color: var(--ink); }
.stat-block > span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 13px; }
.stat-block > strong { font-weight: 600; font-size: 35px; line-height: 1.1; letter-spacing: -1px; }
.stat-block > .bi { position: absolute; inset-inline-end: 23px; bottom: 25px; color: #8da9d7; font-size: 24px; }
.stat-block:hover { border-color: #bcd0f3; }
.form-panel { margin-bottom: 24px; }
.editor-visibility-panel { position: sticky; top: 24px; }
.editor-visibility-panel hr { border-color: var(--line); opacity: 1; margin-block: 25px; }
.admin-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 23px; border-bottom: 1px solid var(--line); }
.admin-filters > div { flex: 1; min-width: 140px; }
.admin-filters .admin-search { flex: 1.4; }
.admin-filters .form-control, .admin-filters .form-select { min-height: 42px; font-size: 12px; }
.admin-filters .btn { padding: 10px 17px; font-size: 12px; }
.admin-search { position: relative; }
.admin-search > .bi { position: absolute; inset-inline-start: 14px; top: 12px; color: #91a0b6; font-size: 13px; }
.admin-search > input { padding-inline-start: 37px; }
.candidate-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 25px; }
.candidate-details dt { color: #8c99ac; font-size: 11px; font-weight: 400; margin-bottom: 5px; }
.candidate-details dd { color: var(--ink); font-size: 13px; margin: 0; overflow-wrap: anywhere; }
.candidate-details dd a { color: #4974ba; }
.settings-section { display: grid; grid-template-columns: 225px minmax(0,1fr); gap: 35px; margin-bottom: 35px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.settings-intro { padding-top: 5px; }
.settings-icon { display: flex; color: #7c94b7; font-size: 21px; margin-bottom: 14px; }
.settings-intro h2 { font-size: 17px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 11px; }
.settings-intro p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.action-setting { padding: 26px; }
.action-setting + .action-setting { border-top: 1px solid var(--line); }
.setting-switch-row { display: flex; gap: 25px; align-items: flex-start; justify-content: space-between; margin-bottom: 19px; }
.setting-switch-row h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.5; }
.setting-switch-row h3 label { cursor: pointer; }
.setting-switch-row p { color: var(--muted); font-size: 12px; margin: 0; }
.setting-switch-row .form-switch { margin: 0; flex-shrink: 0; }
.template-tokens { display: flex; flex-wrap: wrap; gap: 7px; }
.token-button { border: 1px solid #dce6f7; background: #f6f9ff; color: #5879af; border-radius: 5px; padding: 5px 9px; font-family: inherit; font-size: 11px; cursor: pointer; }
.token-button:hover { color: var(--blue); background: #edf3ff; border-color: #afc9f5; }
.mail-preview { padding-top: 24px; }
.preview-caption { color: #71839d; font-size: 11px; margin-bottom: 14px; }
.preview-caption > span { display: flex; align-items: center; gap: 7px; font-weight: 600; margin-bottom: 3px; }
.preview-caption > small { font-size: 11px; color: #99a4b5; }
.preview-envelope { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 28px; color: #607087; font-size: 13px; line-height: 1.85; }
.preview-sender { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 12px; margin-bottom: 24px; }
.preview-envelope h3 { font-size: 17px; font-weight: 600; margin-bottom: 20px; overflow-wrap: anywhere; }
#settings-form { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.settings-save { position: fixed; inset-inline-start: 225px; inset-inline-end: 0; bottom: 0; z-index: 1020; display: flex; justify-content: flex-end; padding: 16px 42px calc(16px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px #17243b08; }
.settings-save .btn { min-height: 48px; }
[dir="rtl"] .bi-arrow-left, [dir="rtl"] .bi-arrow-right, [dir="rtl"] .bi-arrow-up-right { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .hero h1, [dir="rtl"] .job-detail-header h1, [dir="rtl"] .admin-page-heading h1 { letter-spacing: 0; }

@media (min-width: 1600px) {
    .settings-save { inset-inline-start: 245px; padding-inline: 60px; }
    .admin-main { padding-inline: 60px; }
    .admin-sidebar { width: 245px; }
}
@media (max-width: 1199px) {
    .settings-save { padding-inline: 28px; }
    .hero-art { width: 205px; height: 205px; margin-inline-end: 0; }
    .hero-plus { inset: 42px; width: 121px; height: 121px; font-size: 77px; }
    .hero { gap: 35px; }
    .hero h1 { font-size: 65px; }
    .job-table td, .job-table th { padding-inline: 13px; }
    .job-name-cell { min-width: 225px; }
    .admin-main { padding: 32px 28px 50px; }
    .admin-sidebar { width: 198px; padding-inline: 12px; }
    .settings-section { grid-template-columns: 185px minmax(0,1fr); gap: 24px; }
    .stats-grid { gap: 12px; }
    .stat-block { padding: 18px; }
}
@media (max-width: 991px) {
    .settings-save { inset-inline-start: 0; padding-inline: 24px; }
    .hero { padding-top: 60px; padding-bottom: 65px; }
    .hero h1 { font-size: 57px; letter-spacing: -2.4px; }
    .hero-art { width: 175px; height: 175px; }
    .hero-plus { inset: 35px; width: 105px; height: 105px; font-size: 66px; }
    .orbit-two { inset: 16px; }
    .orbit-dot { inset-inline-end: 20px; top: 17px; width: 10px; height: 10px; }
    .hero-copy > p { font-size: 15px; }
    .header-actions { gap: 18px; }
    .job-table-wrap { overflow: visible; border: 0; background: transparent; }
    .job-table { display: block; }
    .job-table thead { display: none; }
    .job-table tbody { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .job-row { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 11px; padding: 23px; background: white; }
    .job-table td { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 7px 0; font-size: 12px; border: 0; overflow-wrap: anywhere; }
    .job-table td[data-label]::before { content: attr(data-label); font-size: 11px; color: #8e9aae; flex-shrink: 0; }
    .job-table td:first-child { display: block; padding: 0 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px; min-width: 0; }
    .job-title-link { max-width: calc(100% - 20px); }
    .job-table .job-arrow { position: absolute; top: 19px; inset-inline-end: 21px; font-size: 18px; }
    .job-table .job-apply-cell { padding: 16px 0 0; }
    .job-apply-button { width: 100%; }
    .detail-grid { gap: 15px; }
    .role-summary { position: static; }
    .role-summary dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 15px; }
    .role-summary dl > div { margin-bottom: 8px; }
    .role-summary .summary-symbol { display: none; }
    .application-intro > p { max-width: 500px; }
    .privacy-note { max-width: 500px; margin-top: 15px; }
    .application-section { padding-top: 36px; }
    .admin-header-inner { padding-inline: 24px; }
    .admin-shell { display: block; }
    .admin-sidebar { width: 100%; padding: 12px 24px; border-inline-end: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
    .admin-sidebar nav { display: flex; gap: 8px; }
    .sidebar-link { white-space: nowrap; margin-bottom: 0; padding: 10px 13px; }
    .sidebar-note { display: none; }
    .admin-main { padding: 30px 24px 50px; }
    .settings-section { grid-template-columns: 190px minmax(0,1fr); }
}
@media (max-width: 767px) {
    .settings-save { padding-inline: 20px; }
    .settings-save .btn { width: 100%; }
    .container { padding-inline: 22px; }
    .site-nav { min-height: 82px; gap: 16px; }
    .brand-symbol { width: 37px; height: 37px; font-size: 23px; }
    .brand-name { font-size: 18px; }
    .header-actions { gap: 12px; }
    .language-select { max-width: 90px; }
    .hero { padding-top: 45px; padding-bottom: 52px; }
    .hero h1 { font-size: 53px; max-width: 570px; }
    .hero-art { display: none; }
    .hiring-note { margin-bottom: 22px; }
    .hero-copy > p { max-width: 520px; margin-bottom: 22px; }
    .positions-section { padding-top: 35px; padding-bottom: 45px; }
    .section-heading { align-items: flex-start; }
    .section-heading h2 { font-size: 26px; }
    .section-heading p { font-size: 12px; max-width: 220px; }
    .count-label { font-size: 10px; padding: 6px 9px; margin-top: 5px; }
    .job-filters { gap: 10px; }
    .job-filters > div { flex: 1 1 calc(50% - 10px); min-width: 0; }
    .job-filters .form-select { width: 100%; }
    .job-filters .clear-filters { padding-block: 4px; }
    .job-table tbody { grid-template-columns: 1fr; }
    .job-title-link { font-size: 16px; }
    .footer-content { align-items: flex-start; gap: 23px; }
    .footer-links { flex-direction: column; align-items: flex-end; gap: 8px; text-align: end; }
    .detail-container { padding-top: 25px; padding-bottom: 45px; }
    .job-detail-header { padding-bottom: 28px; margin-bottom: 30px; }
    .job-detail-header h1 { font-size: 36px; letter-spacing: -1.1px; }
    .detail-metadata { gap: 12px 17px; font-size: 12px; }
    .role-summary dl { grid-template-columns: 1fr 1fr; }
    .application-form { padding: 23px; }
    .success-section { padding-top: 75px; padding-bottom: 85px; }
    .success-section h1 { font-size: 36px; }
    .success-section p { font-size: 14px; }
    .admin-page-heading h1 { font-size: 27px; }
    .admin-page-heading { align-items: flex-start; gap: 16px; }
    .admin-page-heading > .btn { padding: 10px 13px; font-size: 12px; }
    .admin-page-heading p { font-size: 12px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-header-inner { padding-inline: 20px; gap: 15px; min-height: 78px; }
    .admin-header .brand-subtitle { max-width: 170px; font-size: 10px; }
    .admin-header .header-actions { gap: 12px; }
    .admin-sidebar { padding-inline: 20px; }
    .admin-main { padding: 26px 20px 40px; }
    .panel-body { padding: 23px; }
    .panel-heading { padding: 21px 23px; }
    .settings-section { grid-template-columns: 1fr; gap: 18px; }
    .settings-intro { display: grid; grid-template-columns: 25px 1fr; column-gap: 10px; }
    .settings-icon { margin: 0; grid-row: span 2; font-size: 19px; }
    .settings-intro h2 { margin-bottom: 7px; }
    .settings-intro p { grid-column: 2; }
    .action-setting { padding: 23px; }
    .setting-switch-row { gap: 15px; }
    .admin-filters { padding: 20px; }
    .admin-filters .admin-search { flex: 1 0 100%; }
    .admin-filters > div { min-width: 120px; }
    .admin-filters .clear-filters { flex: 1; }
}
@media (max-width: 575px) {
    .job-apply-caption { display: none; }
    .job-apply-bar .btn { width: 100%; min-height: 48px; }
}
@media (max-width: 420px) {
    .container { padding-inline: 18px; }
    .site-nav { gap: 11px; }
    .brand { gap: 8px; }
    .brand-name { font-size: 16px; }
    .company-logo { height: 32px; max-width: 100px; }
    .brand-symbol { width: 32px; height: 32px; font-size: 21px; }
    .language-form { gap: 4px; }
    .language-select { max-width: 72px; font-size: 11px; }
    .header-actions { gap: 8px; }
    .admin-link { padding: 7px 9px; }
    .hero h1 { font-size: 44px; letter-spacing: -1.9px; }
    .hero-copy > p { font-size: 14px; }
    .search-box { gap: 10px; }
    .search-box > .bi { margin-inline-start: 7px; }
    .search-box input { font-size: 12px; }
    .search-box .btn { padding: 11px 15px; font-size: 12px; }
    .job-row { padding: 21px; }
    .footer-content { flex-direction: column; gap: 17px; }
    .footer-links { align-items: flex-start; text-align: start; }
    .login-card { padding: 27px 23px; }
    .login-container { padding-top: 35px; padding-bottom: 45px; }
    .candidate-details { grid-template-columns: 1fr; }
    .admin-header .brand-subtitle { max-width: 110px; }
    .admin-page-heading { flex-wrap: wrap; }
    .preview-envelope { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .apply-submit-spinner { animation: none !important; }
}
