.applicant-page { min-height: 75vh; padding: 7rem 1rem 4rem; background: #f5f8fc; }
.applicant-card { max-width: 1000px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid #dce5ef; border-top: 4px solid #0b315c; background: #fff; box-shadow: 0 18px 50px rgba(4,22,44,.06); }
.applicant-card--narrow { max-width: 560px; }
.applicant-kicker { color: #bd480b; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.applicant-card h1 { margin: .6rem 0; color: #061f3d; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; overflow-wrap: anywhere; }
.applicant-card h2 { margin: 0 0 .8rem; color: #061f3d; font-size: 1rem; }
.applicant-intro { margin: .6rem 0 1.25rem; color: #64748b; font-size: .9rem; line-height: 1.7; }
.applicant-access-form { display: grid; gap: .6rem; }
.applicant-access-form label { margin-top: .7rem; color: #253750; font-size: .85rem; font-weight: 700; }
.applicant-access-form input { width: 100%; min-height: 46px; padding: .7rem; border: 1px solid #c9d6e4; font: inherit; }
.applicant-access-form input:focus { outline: 2px solid #0b315c; outline-offset: 1px; }
.applicant-access-form input[aria-invalid="true"] { border-color: #a12626; }
.applicant-field-error { margin: 0; color: #a12626; font-size: .78rem; line-height: 1.6; }
.applicant-access-form .applicant-button { margin-top: 1rem; }
.applicant-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .7rem 1rem; border: 0; background: #0b315c; color: #fff !important; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: none !important; }
.applicant-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; font-size: .85rem; }
.applicant-links a, .applicant-alert a { color: #0b315c; text-decoration: underline; }
.applicant-alert { margin: 1rem 0; padding: 1rem; border: 1px solid #c6d9ec; background: #f1f7fc; color: #254768; font-size: .85rem; line-height: 1.7; }
.applicant-alert--error { border-color: #efc3c3; background: #fff5f5; color: #a12626; }
.applicant-alert--success { border-color: #b4ddc4; background: #effaf3; color: #216c47; }
.applicant-alert--warning { border-color: #e6d29f; background: #fff9e9; color: #785812; }
.applicant-alert > strong { display: block; margin-bottom: .3rem; font-weight: 800; }
.applicant-alert > p { margin: 0; }
.applicant-hint { color: #64748b; font-size: .78rem; }
.account-access-page { display: grid; place-items: center; min-height: 88svh; padding: 112px 20px 64px; }
.account-access-card { width: 100%; max-width: 520px; padding: clamp(24px, 4vw, 40px); border-radius: 12px; box-shadow: 0 18px 55px rgba(4,22,44,.07); }
.account-access-header { text-align: center; }
.account-access-emblem { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border: 1px solid #dce5ef; border-radius: 14px; background: #edf3f9; color: #0b315c; }
.account-access-card h1 { margin: 10px 0 12px; font-size: clamp(26px, 4vw, 32px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.account-access-card .applicant-intro { margin: 0 0 26px; font-size: 14px; line-height: 1.75; }
.account-access-identity { display: grid; gap: 4px; margin-bottom: 24px; padding: 12px 15px; border: 1px solid #e2e9f1; border-left: 3px solid #f27632; border-radius: 5px; background: #f8fafc; overflow-wrap: anywhere; }
.account-access-identity span { color: #64748b; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.account-access-identity strong { color: #253750; font-size: 13px; font-weight: 600; line-height: 1.6; }
.account-access-card .applicant-access-form { gap: 20px; }
.account-access-field { display: grid; gap: 8px; min-width: 0; }
.account-access-field label { margin: 0; font-size: 13px; line-height: 1.5; }
.account-access-field input { min-width: 0; min-height: 50px; padding: 12px 14px; border-radius: 6px; background: #fcfdff; color: #0f172a; font-size: 16px; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.account-access-field input::placeholder { color: #94a3b8; }
.account-access-field input:focus { outline: 2px solid #0b315c; outline-offset: 2px; background: #fff; }
.account-access-field .applicant-hint { margin: 0; font-size: 12px; line-height: 1.5; }
.account-access-password { position: relative; }
.account-access-password input { padding-right: 78px; }
.account-access-toggle { position: absolute; top: 50%; right: 7px; min-width: 57px; min-height: 36px; padding: 4px 8px; transform: translateY(-50%); border: 0; background: transparent; color: #0b315c; font-size: 12px; font-weight: 700; cursor: pointer; }
.account-access-toggle:hover { background: #edf3f9; }
.account-access-toggle:focus-visible, .account-access-submit:focus-visible { outline: 2px solid #f27632; outline-offset: 3px; }
.account-access-card .account-access-submit { width: 100%; min-height: 50px; justify-content: center; gap: 12px; margin-top: 2px; font-size: 14px; transition: background .2s, box-shadow .2s; }
.account-access-submit:hover { background: #061f3d; box-shadow: 0 6px 16px rgba(11,49,92,.14); }
.account-access-submit:disabled { opacity: .65; cursor: wait; }
.account-access-submit span { font-size: 19px; line-height: 1; }
.account-access-card .applicant-alert { margin: 0 0 22px; padding: 13px 15px; border-radius: 6px; overflow-wrap: anywhere; }
.account-access-links { justify-content: center; gap: 12px 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #e2e9f1; color: #64748b; font-size: 12px; text-align: center; }
.account-access-links p { margin: 0; }
.account-access-links a { font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 480px) { .account-access-page { padding: 88px 14px 40px; } .account-access-card { padding: 26px 20px; } .account-access-links { flex-direction: column; } }
.applicant-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.applicant-status { flex: 0 0 auto; padding: .5rem .75rem; background: #fff4dc; color: #8b5a0b; font-size: .8rem; font-weight: 700; }
.applicant-status--approved, .applicant-status--completed { background: #e8f7ee; color: #216c47; }
.applicant-status--rejected { background: #fff0f0; color: #a43d3d; }
.applicant-next { margin: 1.5rem 0; padding: 1.2rem; border-left: 3px solid #f27632; background: #fafbfd; color: #45566e; font-size: .9rem; line-height: 1.7; overflow-wrap: anywhere; }
.applicant-tracking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.applicant-timeline, .applicant-progress { margin: 0; padding: 0; list-style: none; }
.applicant-timeline li { padding: .2rem 0 1.3rem 1rem; border-left: 2px solid #dce5ef; }
.applicant-timeline strong, .applicant-progress strong { color: #253750; font-size: .86rem; }
.applicant-timeline time, .applicant-progress small { display: block; margin-top: .3rem; color: #64748b; font-size: .77rem; }
.applicant-progress li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.1rem; }
.applicant-progress li > span { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid #c9d6e4; color: #64748b; font-size: .75rem; }
.applicant-progress li.is-complete > span { border-color: #216c47; background: #e8f7ee; color: #216c47; }
.applicant-section-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.25rem; font-size: .8rem; font-weight: 600; color: #0b315c; }
.applicant-section-links a { text-decoration: underline; text-underline-offset: 4px; }
.applicant-summary, #application-progress { scroll-margin-top: 85px; }
.applicant-summary { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #dce5ef; }
.applicant-summary-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.applicant-summary-heading h2 { margin: .4rem 0 0; font-size: 1.35rem; font-weight: 700; }
.applicant-summary-reference { padding: .4rem .65rem; background: #edf3f9; color: #52677e; font-size: .8rem; font-weight: 600; }
.applicant-summary-intro { margin: .7rem 0 1.25rem; color: #64748b; font-size: .82rem; line-height: 1.8; }
.applicant-summary-intro a { text-decoration: underline; color: #0b315c; }
.applicant-summary-sections { display: grid; gap: 1.1rem; }
.applicant-summary-section { min-width: 0; border: 1px solid #dce5ef; }
.applicant-summary-section h3 { margin: 0; padding: .85rem 1rem; background: #f3f7fb; border-bottom: 1px solid #dce5ef; color: #0b315c; font-size: .86rem; font-weight: 700; }
.applicant-summary-section dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.5rem; margin: 0; padding: 1.1rem; }
.applicant-summary-field { min-width: 0; }
.applicant-summary-field--wide { grid-column: 1 / -1; }
.applicant-summary-field dt { font-size: .72rem; font-weight: 500; color: #64748b; }
.applicant-summary-field dd { display: flex; align-items: flex-start; gap: .6rem; margin: .3rem 0 0; font-size: .84rem; line-height: 1.75; color: #253750; }
.applicant-summary-field dd > span { min-width: 0; white-space: pre-line; overflow-wrap: anywhere; }
.applicant-summary-flag { flex: 0 0 24px; object-fit: contain; border: 1px solid #dce5ef; margin-top: .2rem; }
.applicant-summary-field dd.applicant-summary-empty, .applicant-summary-empty { color: #708298; font-size: .8rem; }
.applicant-summary-section > .applicant-summary-empty { margin: 1rem; }
.applicant-summary-documents { list-style: none; margin: 0; padding: 0 1.1rem; }
.applicant-summary-documents li { padding: 1rem 0; overflow-wrap: anywhere; }
.applicant-summary-documents li + li { border-top: 1px solid #e4ebf3; }
.applicant-summary-documents strong { display: block; color: #253750; font-size: .82rem; font-weight: 600; }
.applicant-summary-documents span { display: block; color: #64748b; font-size: .73rem; margin-top: .35rem; }
@media (max-width: 520px) { .applicant-summary-section dl { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .applicant-tracking-grid { grid-template-columns: 1fr; } .applicant-heading { flex-direction: column; } .applicant-links { align-items: stretch; flex-direction: column; } }
