/* Stage 1 v2 - isolated, dependency-free */
.stage1-v2{--s1-border:#d9e3ee;--s1-muted:#6b7c93;--s1-bg:#f7f9fc;--s1-blue:#2474e5;--s1-navy:#0f2f4d}.stage1-info-card{position:sticky;top:96px}.stage1-form-card{padding:28px}.stage1-section{padding:22px 0;border-top:1px solid #e6edf5}.stage1-section:first-of-type{border-top:0;padding-top:6px}.stage1-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.stage1-section-head>div{display:flex;gap:12px;align-items:flex-start}.stage1-section-no{width:32px;height:32px;border-radius:9px;background:#edf5ff;color:#1768c5;display:grid;place-items:center;font-size:11px;font-weight:900;flex:0 0 32px}.stage1-section h2{margin:0;color:#102a43;font-size:18px;line-height:1.25}.stage1-section-head p{margin:5px 0 0;color:#70859a;font-size:11px;line-height:1.55}.stage1-required,.stage1-sensitive-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eef5ff;color:#1d63ae;font-size:9px;font-weight:850;letter-spacing:.08em}.stage1-sensitive-pill{background:#fff5ea;color:#a65d0c}.stage1-grid{gap:16px}.stage1-grid .field label{font-size:11px;font-weight:750;color:#20364e}.stage1-grid input,.stage1-grid select,.stage1-grid textarea{min-height:48px;border-radius:10px;border:1px solid #cfdbe8;background:#fff;color:#102a43}.stage1-grid input:focus,.stage1-grid select:focus,.stage1-grid textarea:focus{border-color:#2f80ed;box-shadow:0 0 0 3px rgba(47,128,237,.10);outline:none}.stage1-locked-field{min-height:50px;border:1px solid #cfe0f3;border-radius:10px;background:#f7fbff;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.stage1-locked-field strong{color:#102a43}.stage1-locked-field span{font-size:9px;color:#6d8297}.stage1-progress-list{display:grid;gap:13px;margin:24px 0}.stage1-progress-list>div{display:flex;gap:10px;align-items:flex-start;color:#a7b8c9}.stage1-progress-list i{width:28px;height:28px;border-radius:50%;border:1px solid rgba(255,255,255,.22);display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:850;flex:0 0 28px}.stage1-progress-list b{display:block;color:inherit;font-size:11px}.stage1-progress-list small{display:block;margin-top:2px;color:inherit;font-size:9px;line-height:1.45}.stage1-progress-list .is-active{color:#fff}.stage1-progress-list .is-active i{background:#2f80ed;border-color:#2f80ed}.stage1-other-input{margin-top:8px}.stage1-city-fallback{margin-top:8px}.field-error{display:block;margin-top:6px;color:#b42318;font-size:9px;font-weight:700}.field-error[hidden]{display:none!important}.stage1-inline-check{display:flex;align-items:center;gap:8px;margin-top:9px;color:#314b66;font-size:10px;font-weight:700;cursor:pointer}.stage1-inline-check input{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0}.stage1-inline-check span{line-height:1.35}.stage1-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stage1-upload-card{min-height:94px;border:1px dashed #a9bfd6;border-radius:12px;background:#fbfdff;padding:14px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;cursor:pointer}.stage1-upload-card:hover{border-color:#5c91c9;background:#f7fbff}.stage1-upload-card.is-linked{cursor:default;border-style:solid;background:#f8fbff}.stage1-upload-icon{width:42px;height:42px;border-radius:10px;background:#eaf3ff;color:#1f67b6;display:grid;place-items:center;font-size:10px;font-weight:900}.stage1-upload-card b{display:block;color:#17324f;font-size:11px}.stage1-upload-card small{display:block;color:#788ca1;font-size:9px;margin-top:3px}.stage1-upload-card em{display:block;color:#4f6780;font-size:9px;margin-top:6px;font-style:normal;word-break:break-word}.stage1-upload-card>strong{font-size:9px;color:#1d63ae;background:#eef5ff;border-radius:8px;padding:8px 10px}.stage1-hidden-file{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}.stage1-final-consent{margin-top:22px;padding:14px;border-radius:10px;background:#f8fbff;border:1px solid #dbe7f2}.stage1-submit{margin-top:14px;min-height:50px}.stage1-cv-section .cv-autofill{margin:0}.stage1-cv-section .cv-autofill{background:#f8fbff}.stage1-cv-section .cv-file-picker{margin-top:0}.stage1-form-card .career-alert-error small{font-weight:500;opacity:.9}.stage1-form-card .field-help{font-size:9px;line-height:1.45;color:#7c8fa2}.stage1-form-card .cv-prefilled select{border-color:#8dcbb0;background:#fbfffd}
@media(max-width:980px){.stage1-info-card{position:static}.stage1-upload-grid{grid-template-columns:1fr}.stage1-form-card{padding:22px}}
@media(max-width:680px){.stage1-form-card{padding:16px}.stage1-section{padding:18px 0}.stage1-section-head{gap:10px}.stage1-section-head>div{gap:9px}.stage1-section h2{font-size:16px}.stage1-section-head p{font-size:10px}.stage1-upload-card{grid-template-columns:38px 1fr;min-height:88px}.stage1-upload-card>strong{grid-column:2;justify-self:start}.stage1-locked-field{align-items:flex-start;flex-direction:column}.stage1-progress-list{margin-bottom:0}.stage1-required,.stage1-sensitive-pill{display:none}}
.stage2-doc-existing{border-color:#b9dec9;background:#f7fcf9}.stage2-existing-note{display:grid;gap:5px;padding:12px;border-radius:10px;background:#edf9f2;color:#23643f}.stage2-existing-note b{font-size:11px}.stage2-existing-note span,.stage2-existing-note small{font-size:9px;line-height:1.45}.stage2-existing-note small{color:#547666}

/* Hotfix 2026-09-19: onboard checkbox + hidden validation state.
   Scoped to Stage 1 so global form styles cannot stretch native checkbox controls. */
.stage1-v2 [hidden]{display:none!important}
.stage1-v2 .stage1-inline-check{
  width:100%;
  min-height:48px;
  margin-top:10px;
  padding:10px 12px;
  border:1px solid #d9e5f1;
  border-radius:10px;
  background:#f8fbff;
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#20364e;
  cursor:pointer;
}
.stage1-v2 .stage1-grid .stage1-inline-check input[type="checkbox"]{
  -webkit-appearance:checkbox!important;
  appearance:auto!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  padding:0!important;
  margin:1px 0 0!important;
  border:0!important;
  border-radius:3px!important;
  box-shadow:none!important;
  flex:0 0 18px!important;
  accent-color:#2474e5;
}
.stage1-v2 .stage1-inline-check span{
  display:block;
  line-height:1.4;
  font-size:10px;
  font-weight:750;
}
.stage1-v2 #sea_period_error[hidden]{display:none!important}
.stage1-v2 #sea_period_error:not([hidden]){display:block;margin-top:7px}
.stage1-v2 #last_sign_off_month:disabled{
  background:#f3f6f9;
  color:#8292a3;
  cursor:not-allowed;
}
@media(max-width:680px){
  .stage1-v2 .stage1-inline-check{min-height:44px;padding:10px}
}

/* V9: readiness question */
.stage1-v2 .stage1-availability-field{padding:12px;border:1px solid #d9e7f5;border-radius:12px;background:#f8fbff}
.stage1-v2 .stage1-availability-field label{color:#163b63;font-weight:850}

/* V12.1 Returning Applicant verification */
.returning-applicant-panel{border:1px solid rgba(17,94,89,.22);background:linear-gradient(180deg,#f0fdfa 0%,#fff 100%)}
.returning-applicant-panel.has-error{border-color:rgba(185,28,28,.25);background:linear-gradient(180deg,#fff7f7 0%,#fff 100%)}
.returning-applicant-box{display:grid;gap:14px}
.returning-applicant-message{font-size:14px;line-height:1.6;color:#334155}
.returning-applicant-channels{display:flex;flex-wrap:wrap;gap:10px}
.returning-channel-btn{min-height:44px}
.returning-otp-wrap{display:grid;gap:8px;padding:14px;border-radius:12px;background:#fff;border:1px solid #dbe5e8}
.returning-otp-row{display:grid;grid-template-columns:minmax(140px,220px) auto;gap:10px;align-items:center}
.returning-otp-row input{font-size:20px;letter-spacing:.3em;text-align:center;font-weight:700;min-height:46px}
.returning-verified{padding:12px 14px;border-radius:10px;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;font-weight:700}
@media(max-width:640px){.returning-applicant-channels{display:grid}.returning-channel-btn{width:100%}.returning-otp-row{grid-template-columns:1fr}.returning-otp-row .career-btn{width:100%}}

/* V12.2 Stage 1 education + repeatable experience */
.stage1-v2 .field label small{font-size:9px;font-weight:650;color:#8192a5}.stage1-experience-list{display:grid;gap:16px}.stage1-experience-card{border:1px solid #d9e5f1;border-radius:14px;background:#fbfdff;padding:16px}.stage1-experience-card.is-primary{border-color:#b9d4f2;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}.stage1-experience-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px;margin-bottom:15px;border-bottom:1px solid #e6edf5}.stage1-experience-card-head b{display:block;color:#17324f;font-size:12px}.stage1-experience-card-head small{display:block;margin-top:3px;color:#7c8fa2;font-size:9px}.stage1-experience-card-head>span{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#eaf3ff;color:#1f67b6;font-size:9px;font-weight:850;letter-spacing:.05em}.stage1-experience-remove{border:1px solid #f0c8c8;background:#fff7f7;color:#a33a3a;border-radius:8px;min-height:34px;padding:0 11px;font-size:9px;font-weight:800;cursor:pointer}.stage1-experience-remove:hover{background:#fff0f0;border-color:#dfa8a8}.stage1-experience-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.stage1-experience-actions .career-btn{min-height:40px}.stage1-experience-actions small{color:#7c8fa2;font-size:9px;line-height:1.45}.stage1-availability-wrap{margin-top:16px}.stage1-grid textarea{padding:11px 12px;resize:vertical;min-height:92px}.stage1-experience-card .field-error{margin-top:7px}

/* Native file input overlay: improves Browse on iOS Safari while keeping custom UI. */
.stage1-v2 .stage1-native-file-picker{position:relative;overflow:hidden}.stage1-v2 .stage1-native-file-picker>*:not(input[type="file"]){pointer-events:none}.stage1-v2 .stage1-native-file-picker input[type="file"].stage1-file-overlay{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;opacity:0!important;clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;z-index:10!important;cursor:pointer!important;font-size:100px!important}.stage1-v2 .stage1-native-file-picker:focus-within{outline:0;border-color:#2f80ed;box-shadow:0 0 0 3px rgba(47,128,237,.10)}

@media(max-width:680px){.stage1-experience-card{padding:13px}.stage1-experience-card-head{align-items:flex-start}.stage1-experience-actions{display:grid}.stage1-experience-actions .career-btn{width:100%}}

/* V12.3.6 - split On Board vs Off Board experience */
.stage1-v2 .stage1-optional{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:9px;font-weight:850;letter-spacing:.08em}
.stage1-v2 .stage1-onboard-section .stage1-experience-card{border-left:3px solid #2f80ed}
.stage1-v2 .stage1-offboard-section{background:linear-gradient(180deg,rgba(248,250,252,.72),rgba(255,255,255,0));border-radius:14px;padding-left:10px;padding-right:10px}
.stage1-v2 .stage1-offboard-card{border-left:3px solid #94a3b8;background:#fff}
.stage1-v2 .stage1-empty-experience{padding:15px 16px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;color:#64748b;font-size:10px;line-height:1.5}
.stage1-v2 .cv-source-indicator{display:block;margin-top:4px;color:#247a52!important;font-size:9px!important;font-weight:750}
@media(max-width:680px){.stage1-v2 .stage1-optional{display:none}}
