@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap');

:root {
    --orange: #f87638;
    --orange-bright: #d9561d;
    --orange-dark: #d9561d;
    --orange-soft: #fff5ee;
    --ink: #151b19;
    --muted: #68716e;
    --line: #e6d2c6;
    --surface: #fff;
    --page: #f4f6f7;
    --success: #23734e;
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: 'Roboto', Arial, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.application-header { background: rgba(255,255,255,.96); border-bottom: 1px solid #e7e9e9; }
.application-header-inner { width: min(1080px, calc(100% - 40px)); min-height: 74px; display: flex; align-items: center; gap: 26px; margin: auto; }
.application-brand img { display: block; width: 170px; height: auto; }
.application-vacancy { display: grid; margin-left: auto; text-align: right; }
.application-vacancy span { color: #8b918f; font-size: 10px; }
.application-vacancy strong { font-size: 13px; }
.application-close { width: 36px; height: 36px; display: grid; place-items: center; color: #59615e; background: #f1f3f3; border-radius: 50%; font-size: 23px; text-decoration: none; }

.wizard-progress { width: min(1160px, calc(100% - 40px)); margin: 34px auto 44px; overflow: hidden; }
.wizard-progress ol { display: grid; grid-template-columns: repeat(8, 1fr); margin: 0; padding: 0; list-style: none; }
.wizard-progress li { position: relative; min-width: 0; display: grid; justify-items: center; gap: 3px; color: #929895; text-align: center; }
.wizard-progress li::after { content: ''; position: absolute; z-index: 0; top: 14px; left: calc(50% + 22px); width: calc(100% - 44px); height: 1px; background: #d9dddc; }
.wizard-progress li:last-child::after { display: none; }
.wizard-progress li > span { position: relative; z-index: 1; width: 29px; height: 29px; display: grid; place-items: center; background: #e6e9e8; border-radius: 50%; font-size: 10px; font-weight: 700; }
.wizard-progress small { margin-top: 2px; font-size: 10px; font-weight: 600; }
.wizard-progress em { display: none; font-size: 8px; font-style: normal; }
.wizard-progress li.active, .wizard-progress li.completed { color: var(--orange); }
.wizard-progress li.active > span, .wizard-progress li.completed > span { color: white; background: var(--orange); }
.wizard-progress li.completed::after { background: rgba(248,118,56,.5); }

.application-wizard { width: min(800px, calc(100% - 40px)); margin: 0 auto 70px; background: var(--surface); border: 1px solid #e8c6b2; border-radius: 11px; box-shadow: 0 18px 55px rgba(28,38,34,.06); }
.wizard-panel { min-height: 470px; padding: 38px 44px 25px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.panel-eyebrow { display: block; margin-bottom: 7px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.panel-heading h1, .panel-heading h2 { margin: 0; color: #111817; font-size: clamp(25px, 4vw, 31px); line-height: 1.15; letter-spacing: -.04em; }
.panel-heading p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.save-status { flex: 0 0 auto; margin-top: 4px; padding: 7px 13px; color: var(--success); background: #edf4f0; border-radius: 20px; font-size: 9px; font-weight: 700; }
.save-status::before { content: '✓'; margin-right: 6px; }
.form-alert { margin: 24px 44px 0; padding: 12px 15px; color: #8a270d; background: #fff0eb; border: 1px solid #f2c2b4; border-radius: 8px; font-size: 12px; }
.form-alert ul { margin: 7px 0 0; padding-left: 18px; }

.position-selection { display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; margin-bottom: 25px; padding: 17px; background: #f8faf9; border: 1px solid #e1e7e4; border-radius: 9px; }
.position-selection > div:first-child { display: grid; gap: 2px; }
.position-selection > div:first-child strong { font-size: 12px; }
.position-selection > div:first-child span { color: var(--muted); font-size: 9px; }
.position-counter { align-self: center; padding: 6px 10px; color: var(--orange); background: var(--orange-soft); border-radius: 18px; font-size: 9px; font-weight: 700; }
.position-options { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.position-option { min-width: 0; display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; background: white; border: 1px solid #dfe4e2; border-radius: 7px; cursor: pointer; }
.position-option:has(input:checked) { border-color: #f2b18f; box-shadow: 0 0 0 2px rgba(248,118,56,.08); }
.position-option input { appearance: none; flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; background: white center / 10px no-repeat; border: 1px solid #b9c1be; border-radius: 3px; cursor: pointer; }
.position-option input:checked { background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m3 8 3 3 7-7'/%3E%3C/svg%3E"); border-color: var(--orange); }
.position-option input:disabled { cursor: not-allowed; opacity: 1; }
.position-option:has(input:disabled:checked) { background: #fff8f3; border-color: var(--orange); }
.position-option > span { min-width: 0; flex: 1; display: grid; gap: 2px; }
.position-option strong { font-size: 10px; }
.position-option small { color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
.priority-badge { flex: 0 0 auto; padding: 4px 7px; color: var(--orange); background: var(--orange-soft); border-radius: 12px; font-size: 7px; white-space: nowrap; }

.photo-upload { min-height: 104px; display: flex; align-items: center; gap: 20px; margin-bottom: 27px; padding: 18px 22px; border: 1px dashed #dfbda8; border-radius: 9px; cursor: pointer; }
.photo-upload input, .document-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-preview { flex: 0 0 66px; width: 66px; height: 66px; display: grid; place-items: center; overflow: hidden; color: #916747; background: #e7eaeb; border: 2px solid white; border-radius: 9px; box-shadow: 0 2px 5px rgba(0,0,0,.18); font-size: 32px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-upload > span:last-of-type { min-width: 0; display: grid; gap: 3px; }
.photo-upload strong { font-size: 12px; }
.photo-upload strong small { color: #89908e; font-size: 9px; font-weight: 500; }
.photo-upload em { color: var(--muted); font-size: 10px; font-style: normal; }
.photo-upload em, .photo-upload strong { overflow-wrap: anywhere; }
.photo-upload b { margin-top: 5px; color: var(--orange); font-size: 10px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.form-stack { display: grid; gap: 22px; }
.field { min-width: 0; display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { color: #202725; font-size: 10px; font-weight: 700; }
.field b, .screening-question b, .consent-field b, .wizard-actions b, .document-upload b { color: var(--orange-bright); }
.field input, .field select, .field textarea, .screening-question input, .screening-question select { width: 100%; min-height: 40px; padding: 9px 12px; color: #252d2a; background: #fff; border: 1px solid #dfbda8; border-radius: 6px; outline: 0; font-size: 11px; transition: border-color .18s, box-shadow .18s; }
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus, .screening-question input:focus, .screening-question select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(248,118,56,.1); }
.field input[readonly] { color: #505956; background: #f1f3f3; font-weight: 700; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid, .screening-question input:user-invalid, .screening-question select:user-invalid { border-color: #c84029; }
.field > small { color: #bd3822; font-size: 9px; }
.field-full { grid-column: 1 / -1; }
.radio-field { align-content: start; grid-template-columns: repeat(2, max-content); }
.radio-field legend { grid-column: 1 / -1; margin-bottom: 8px; }
.radio-field label { display: flex; align-items: center; gap: 7px; font-size: 11px; cursor: pointer; }
.radio-field input { width: 15px; min-height: 15px; margin: 0; accent-color: var(--orange); }

.work-experience-list { display: grid; gap: 14px; }
.work-experience-entry { overflow: hidden; background: #fbfcfc; border: 1px solid #e2e7e4; border-radius: 9px; }
.work-experience-entry .form-grid { padding: 18px; }
.work-experience-heading { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 17px; background: #f4f7f6; border-bottom: 1px solid #e2e7e4; }
.work-experience-heading strong { color: var(--navy); font-size: 11px; }
.work-experience-heading button { padding: 6px 9px; color: #9b493f; background: #fff3f1; border: 1px solid #f0d4d0; border-radius: 6px; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.add-work-experience { min-height: 41px; display: inline-flex; align-items: center; justify-content: center; margin-top: 13px; padding: 0 14px; color: var(--orange); background: #fff8f3; border: 1px dashed #efb795; border-radius: 8px; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.add-work-experience:disabled { opacity: .5; cursor: not-allowed; }

.screening-list { display: grid; gap: 13px; }
.screening-position { display: grid; gap: 11px; margin-bottom: 16px; padding: 14px; border: 1px solid #e0e5e3; border-radius: 10px; }
.screening-position-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 2px 3px 10px; border-bottom: 1px solid #e4e8e6; }
.screening-position-heading span { color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.screening-position-heading strong { font-size: 11px; text-align: right; }
.screening-question { display: grid; grid-template-columns: minmax(0, 1fr) 210px; align-items: center; gap: 25px; padding: 15px 17px; background: #fafbfb; border: 1px solid #e7e9e8; border-radius: 8px; }
.screening-question label { font-size: 11px; font-weight: 600; }
.document-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
.document-upload { min-height: 160px; display: grid; place-items: center; align-content: center; gap: 5px; padding: 20px; border: 1px dashed #dfbda8; border-radius: 9px; text-align: center; cursor: pointer; }
.document-upload > span { width: 43px; height: 43px; display: grid; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 10px; font-size: 10px; font-weight: 800; }
.document-upload strong { font-size: 12px; }
.document-upload em { color: var(--muted); font-size: 9px; font-style: normal; }
.document-upload small { margin-top: 7px; color: var(--orange); font-size: 10px; font-weight: 700; }
.review-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; margin-bottom: 26px; }
.review-introduction { grid-column: 1 / -1; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 14px; padding: 17px 19px; color: #164c39; background: linear-gradient(135deg, #ecf8f2, #f8fcfa); border: 1px solid #cae7da; border-radius: 11px; }
.review-introduction > span { width: 46px; height: 46px; display: grid; place-items: center; color: white; background: var(--success); border-radius: 50%; box-shadow: 0 7px 16px rgba(35,126,88,.2); font-size: 18px; font-weight: 850; }
.review-introduction strong { display: block; margin-bottom: 4px; color: #174936; font-size: 13px; }
.review-introduction p { margin: 0; color: #628174; font-size: 10px; line-height: 1.55; }
.review-section { min-width: 0; overflow: hidden; background: white; border: 1px solid #e2e7e4; border-radius: 12px; box-shadow: 0 8px 24px rgba(34,43,39,.055); }
.review-section-wide { grid-column: 1 / -1; }
.review-section-heading { min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(135deg, #f8faf9, #fffaf6); border-bottom: 1px solid #e6eae8; }
.review-section-number { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 10px; box-shadow: 0 6px 13px rgba(248,118,56,.2); font-size: 9px; font-weight: 850; letter-spacing: .05em; }
.review-section-title { min-width: 0; }
.review-section-title h3 { margin: 0; color: var(--navy); font-size: 12px; line-height: 1.35; }
.review-section-title small { display: block; margin-top: 3px; color: #909a96; font-size: 8px; font-weight: 650; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #e8ecea; }
.review-item { position: relative; min-width: 0; min-height: 69px; display: grid; align-content: center; gap: 5px; padding: 14px 42px 14px 16px; background: white; }
.review-item-wide { grid-column: 1 / -1; }
.review-item::after { content: '✓'; position: absolute; top: 15px; right: 15px; width: 18px; height: 18px; display: grid; place-items: center; color: #2d815f; background: #e9f6f0; border-radius: 50%; font-size: 9px; font-weight: 900; }
.review-item span { color: #89928f; font-size: 8px; font-weight: 750; letter-spacing: .025em; text-transform: uppercase; }
.review-item strong { color: #303b37; overflow-wrap: anywhere; white-space: pre-line; font-size: 11px; font-weight: 700; line-height: 1.55; }
.review-item-empty strong { color: #9ca4a1; font-style: italic; font-weight: 550; }
.review-item-empty::after { content: '–'; color: #8b9691; background: #f0f2f1; }
.consent-field { display: flex; align-items: flex-start; gap: 12px; padding: 17px 18px; background: linear-gradient(135deg, #fff8f3, #fffdfb); border: 1px solid #edcdb9; border-radius: 10px; font-size: 10px; line-height: 1.55; cursor: pointer; }
.consent-field input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 0; accent-color: var(--orange); }

.wizard-actions { min-height: 92px; display: flex; align-items: center; gap: 15px; padding: 20px 44px; border-top: 1px solid #ead7cb; }
.wizard-actions > span { margin-right: auto; color: #7a8380; font-size: 9px; }
.button-primary, .button-secondary { min-width: 170px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 7px; font-size: 11px; font-weight: 800; cursor: pointer; text-decoration: none; }
.button-primary { color: white; background: var(--orange); border: 1px solid var(--orange); box-shadow: 0 8px 18px rgba(248,118,56,.22); }
.button-primary:hover { background: var(--orange-dark); }
.button-primary:disabled { cursor: wait; opacity: .65; }
.button-secondary { color: #38413e; background: white; border: 1px solid #d7dcda; }

.application-footer { color: #dce5e1; background: #102f25; }
.application-footer-inner { width: min(1080px, calc(100% - 40px)); min-height: 170px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px 50px; margin: auto; padding: 35px 0; }
.application-footer-inner > div { display: flex; align-items: center; gap: 20px; }
.application-footer img { width: 145px; padding: 8px; background: white; border-radius: 7px; }
.application-footer p { max-width: 300px; margin: 0; color: rgba(255,255,255,.62); font-size: 11px; }
.application-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.application-footer a { color: white; font-size: 11px; font-weight: 700; text-decoration: none; }
.application-footer a:hover { color: #ffa36f; }
.application-footer-inner > span { grid-column: 1 / -1; padding-top: 17px; color: rgba(255,255,255,.48); border-top: 1px solid rgba(255,255,255,.12); font-size: 9px; }

.success-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.success-card { width: min(580px, 100%); padding: 50px; background: white; border: 1px solid #e5c4af; border-radius: 14px; box-shadow: 0 20px 70px rgba(34,43,39,.1); text-align: center; }
.success-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 22px; color: white; background: var(--success); border-radius: 50%; font-size: 28px; font-weight: 800; }
.success-card h1 { margin: 0 0 15px; font-size: 30px; line-height: 1.15; }
.success-card > p { color: var(--muted); font-size: 13px; }
.application-number { display: grid; gap: 4px; margin: 25px 0; padding: 18px; background: #f3f6f5; border-radius: 9px; }
.application-number span { color: #77807d; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.application-number strong { color: var(--orange); font-size: 21px; letter-spacing: .04em; }
.submitted-applications { display: grid; gap: 8px; margin: 0 0 22px; text-align: left; }
.submitted-applications > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 14px; background: #fafbfb; border: 1px solid #e4e8e6; border-radius: 8px; }
.submitted-applications span { min-width: 0; display: grid; gap: 2px; }
.submitted-applications strong { font-size: 11px; }
.submitted-applications small { color: var(--muted); font-size: 9px; }
.success-note { font-size: 10px !important; }
.success-note strong { display: block; margin-bottom: 5px; color: #174936; font-size: 11px; }
.success-link { width: 100%; margin-top: 10px; }

.restricted-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: radial-gradient(circle at 15% 10%, #fff1e8 0, transparent 32%), radial-gradient(circle at 90% 90%, #e9f4ef 0, transparent 30%), #f5f6f6; }
.restricted-card { position: relative; width: min(680px, 100%); overflow: hidden; padding: 48px 54px; background: rgba(255,255,255,.98); border: 1px solid #ecd1c0; border-radius: 22px; box-shadow: 0 28px 90px rgba(38,44,42,.13); text-align: center; }
.restricted-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #f87638, #ffad77); }
.restricted-card-access::before { background: linear-gradient(90deg, #bd3c36, #ec756b); }
.restricted-status-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 22px; color: #fff; background: linear-gradient(145deg, #f87638, #df591e); border: 8px solid #fff3eb; border-radius: 24px; box-shadow: 0 12px 28px rgba(225,89,30,.24); }
.restricted-card-access .restricted-status-icon { background: linear-gradient(145deg, #c94841, #9f2928); border-color: #fff0ef; box-shadow: 0 12px 28px rgba(173,48,44,.22); }
.restricted-status-icon svg { width: 35px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.restricted-eyebrow { display: block; margin-bottom: 9px; color: #d75b24; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.restricted-card-access .restricted-eyebrow { color: #ad3733; }
.restricted-card h1 { max-width: 540px; margin: 0 auto 15px; color: #17201d; font-size: clamp(28px, 5vw, 39px); line-height: 1.12; letter-spacing: -.045em; }
.restricted-lead { max-width: 560px; margin: 0 auto 27px; color: #68716e; font-size: 14px; line-height: 1.75; }
.restricted-lead strong { color: #303a36; }
.restricted-date { display: grid; gap: 4px; margin: 0 0 25px; padding: 21px; color: #925029; background: linear-gradient(135deg, #fff4ec, #fffaf6); border: 1px solid #f1c8af; border-radius: 14px; }
.restricted-date span { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.restricted-date strong { color: #d6531d; font-size: clamp(24px, 5vw, 32px); line-height: 1.25; }
.restricted-date small { color: #917766; font-size: 11px; }
.restricted-information { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: left; }
.restricted-information article { min-width: 0; padding: 15px; background: #f8faf9; border: 1px solid #e1e7e4; border-radius: 11px; }
.restricted-information article > span { width: 25px; height: 25px; display: grid; place-items: center; margin-bottom: 10px; color: #fff; background: #34795e; border-radius: 50%; font-size: 10px; font-weight: 800; }
.restricted-information strong { display: block; margin-bottom: 4px; color: #27312e; font-size: 11px; }
.restricted-information p { margin: 0; color: #7b8581; font-size: 10px; line-height: 1.55; }
.restricted-note { margin: 20px 0 0; padding: 11px 14px; color: #386851; background: #edf7f2; border-radius: 8px; font-size: 11px; }
.restricted-match-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 13px; text-align: left; }
.restricted-match-details article { min-width: 0; padding: 15px; background: #fff8f7; border: 1px solid #efd9d6; border-radius: 11px; }
.restricted-match-details span, .restricted-match-details strong { display: block; }
.restricted-match-details span { margin-bottom: 6px; color: #9b7773; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.restricted-match-details strong { color: #663b38; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.restricted-privacy-note { margin: 0 0 18px; padding: 10px 13px; color: #746967; background: #f6f4f3; border-radius: 8px; font-size: 10px; line-height: 1.55; }
.restricted-contact { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; padding: 20px; background: #fff5f4; border: 1px solid #efd2cf; border-radius: 13px; text-align: left; }
.restricted-contact > span { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; color: #ae3935; background: #fff; border-radius: 12px; }
.restricted-contact svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.restricted-contact strong { display: block; margin-bottom: 4px; color: #743a37; font-size: 13px; }
.restricted-contact p { margin: 0; color: #8a6966; font-size: 11px; line-height: 1.55; }
.restricted-action { width: 100%; margin-top: 25px; gap: 8px; }
.restricted-action svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
    .application-header-inner { width: min(100% - 28px, 620px); min-height: 66px; }
    .application-brand img { width: 145px; }
    .application-vacancy { display: none; }
    .application-close { margin-left: auto; }
    .wizard-progress { width: calc(100% - 28px); margin: 22px auto 26px; overflow-x: auto; padding-bottom: 8px; }
    .wizard-progress ol { min-width: 720px; }
    .application-wizard { width: calc(100vw - 24px); max-width: calc(100vw - 24px); margin-bottom: 30px; }
    .wizard-panel { min-width: 0; min-height: 0; padding: 27px 20px 22px; overflow: hidden; }
    .panel-heading { flex-direction: column; margin-bottom: 22px; }
    .save-status { order: -1; }
    .form-alert { margin: 18px 20px 0; }
    .photo-upload { align-items: flex-start; padding: 16px; }
    .position-selection { grid-template-columns: 1fr; }
    .position-counter { justify-self: start; }
    .position-options { grid-column: auto; grid-template-columns: 1fr; }
    .photo-preview { flex-basis: 54px; width: 54px; height: 54px; }
    .form-grid, .document-grid, .review-card, .review-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .screening-question { grid-template-columns: 1fr; gap: 9px; }
    .review-introduction, .review-section, .review-section-wide, .review-item, .review-item-wide { grid-column: auto; }
    .review-introduction { grid-template-columns: 39px minmax(0, 1fr); padding: 14px; }
    .review-introduction > span { width: 39px; height: 39px; font-size: 15px; }
    .review-section-heading { min-height: 58px; padding: 10px 13px; }
    .review-section-number { width: 33px; height: 33px; flex-basis: 33px; }
    .review-item { min-height: 64px; padding: 13px 40px 13px 14px; }
    .wizard-actions { flex-wrap: wrap; padding: 17px 20px; }
    .wizard-actions > span { width: 100%; order: -1; }
    .button-primary, .button-secondary { min-width: 0; flex: 1; }
    .application-footer-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 24px; }
    .application-footer-inner > div { align-items: flex-start; flex-direction: column; gap: 13px; }
    .application-footer nav { justify-content: flex-start; }
    .application-footer-inner > span { grid-column: auto; line-height: 1.7; }
    .success-card { padding: 35px 22px; }
    .restricted-card { padding: 38px 20px 25px; border-radius: 16px; }
    .restricted-information { grid-template-columns: 1fr; }
    .restricted-match-details { grid-template-columns: 1fr; }
    .restricted-information article { display: grid; grid-template-columns: 25px 1fr; gap: 0 11px; }
    .restricted-information article > span { grid-row: 1 / 3; margin: 0; }
    .restricted-contact { align-items: flex-start; padding: 16px; }
}

/* Comfortable reading scale for application forms and confirmation pages. */
body { font-size: 14px; }
.panel-heading h1, .panel-heading h2 { font-size: clamp(24px, 3.5vw, 30px); }
.panel-heading p, .form-alert, .success-card > p { font-size: 13px; }
.application-vacancy span, .wizard-progress small, .panel-eyebrow, .save-status,
.position-selection > div:first-child span, .position-counter, .photo-upload strong small,
.photo-upload em, .photo-upload b, .field > small, .screening-position-heading span,
.document-upload em, .document-upload small, .review-item span, .wizard-actions > span,
.application-number span, .submitted-applications small, .submitted-applications b,
.application-footer-inner > span, .position-option small, .priority-badge,
.wizard-progress em { font-size: 10px; }
.field > span, .field legend, .radio-field label, .screening-question label,
.review-item strong, .consent-field, .submitted-applications strong,
.application-footer p, .application-footer a { font-size: 12px; }
.field input, .field select, .field textarea, .screening-question input,
.screening-question select { font-size: 13px; }
.button-primary, .button-secondary { font-size: 12px; }
.success-note { font-size: 11px !important; }
