:root{font-family:Segoe UI,Arial,sans-serif;color:#183c42;background:#f6f8f7}*{box-sizing:border-box}body{margin:0;min-height:100vh}.site-header{background:#004b45;color:white}.header-inner{max-width:1040px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:17px 24px}.site-header strong{font-size:23px}.site-header span{font-weight:400}.site-header small{opacity:.85}.content{max-width:1040px;margin:0 auto;padding:21px 20px 56px}.crumb{font-size:12px;color:#768b91;margin-bottom:16px}.intro{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}.intro-icon{display:grid;place-items:center;background:#e3f5e9;color:#178651;width:43px;height:43px;border-radius:10px;font-size:23px}h1{font-size:26px;margin:0 0 4px;color:#102f37}h2{font-size:17px;color:#173b41;margin:10px 0 17px}.intro p,.section-head p{margin:0;color:#688085;line-height:1.5;font-size:14px}.card{background:#fff;border:1px solid #dce6e4;border-radius:12px;box-shadow:0 2px 12px #002e2310;padding:25px}.fields{display:grid;gap:16px}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}label{display:block;font-weight:600;font-size:13px;color:#26494e}label b{color:#b03e32}input,select{display:block;margin-top:7px;border:1px solid #c7d5d5;border-radius:7px;padding:11px 12px;width:100%;font:inherit;background:#fff;color:#183c42;min-height:43px}input:focus,select:focus{outline:2px solid #72bb9a;outline-offset:1px}form>h2:not(:first-child){margin-top:25px}.section-head{margin-top:26px}.legend{display:flex;flex-wrap:wrap;gap:16px;padding:13px 0 8px;font-size:12px;color:#4c686b}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:3px}.green{background:#229c68}.blue{background:#2e849b}.red{background:#c36f58}.preferences{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pref-group{border:1px solid #dce6e4;border-radius:8px;padding:12px;min-width:0}.pref-group h3{font-size:14px;margin:0 0 12px}.pref-row{border-top:1px solid #edf1f0;padding:9px 0}.pref-row:first-of-type{border-top:0}.pref-row span{font-size:12px;display:block;min-height:30px;line-height:1.4}.pref-row select{font-size:12px;padding:7px;min-height:34px}.privacy{display:flex;gap:11px;align-items:flex-start;font-weight:400;line-height:1.5}.privacy input{width:18px;height:18px;min-height:18px;margin:2px 0 0;flex:none}.privacy a{color:#08765f}.captcha{margin-top:18px;min-height:18px}.primary{margin-top:16px;background:#008a6a;color:#fff;font-weight:700;font-size:14px;padding:13px 20px;border-radius:7px;border:0;cursor:pointer}.primary:disabled{background:#a6bab3;cursor:not-allowed}.message{font-size:13px;min-height:20px;color:#a2422b}.muted,.footer-note{color:#6e8488;font-size:13px;line-height:1.5}.footer-note{padding:16px 0}.done-icon{display:grid;place-items:center;border-radius:50%;width:48px;height:48px;background:#e2f6e7;color:#068a51;font-size:28px}footer{background:#004b45;color:#e8f5ef;font-size:10px;letter-spacing:1px;padding:14px 24px;display:flex;justify-content:space-between;gap:20px}#otp-form{max-width:360px}@media(max-width:720px){.header-inner{padding:16px}.content{padding:15px 12px 36px}.card{padding:18px}.fields.two{grid-template-columns:1fr}.preferences{grid-template-columns:1fr}.intro{gap:9px}h1{font-size:23px}footer{font-size:9px}.site-header small{display:none}}

.document-checklist{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin:16px 0}.document-pill{padding:10px;background:#f3f8f5;border:1px solid #d6e8dc;border-radius:8px;font-size:12px;color:#23434a}.secondary{margin:10px 12px 0 0;border:1px solid #c9d9d5;border-radius:7px;color:#004b45;background:#fff;padding:11px 14px;font-weight:600;cursor:pointer}#doc-form{display:grid;gap:12px;max-width:420px}#doc-form label{display:block}

.stage-banner{background:#fff8ec;border:1px solid #ebd6aa;border-left:4px solid #b78830;border-radius:8px;padding:15px 18px;margin-bottom:17px;color:#534623}.stage-banner p{font-size:13px;margin:6px 0 0;line-height:1.6}.field-help{display:block;margin-top:7px;font-size:12px;color:#8a5732;line-height:1.5}.fields select:disabled,.fields input:disabled{background:#f1f4f3;color:#5e7476;cursor:not-allowed}input[type="checkbox"]:disabled{opacity:.45}

/* Opportunity-based mobile-first preferences (HML controlled release). */
[hidden]{display:none!important}
.section-head{margin-top:28px;margin-bottom:14px}
.section-head h2{margin-bottom:6px}
.preferences{display:block}
.role-group{margin-top:18px}
.role-heading{font-size:15px;color:#1a4147;margin:0 0 10px;font-weight:700}
.opportunity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,305px),1fr));gap:12px}
.opportunity-card{background:#fff;border:1px solid #d4e1dd;border-radius:13px;padding:14px;box-shadow:0 1px 3px #1a48400a}
.opportunity-details{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:13px;font-size:13px}
.opportunity-scale{font-weight:700;color:#18594d;background:#e9f4ef;padding:5px 10px;border-radius:99px;line-height:1.4}
.opportunity-time{color:#344d53;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.choice-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.choice-option{font-family:inherit;border:1px solid #cddbd7;background:#f8faf9;color:#385459;border-radius:9px;font-size:12px;line-height:1.2;font-weight:650;min-height:44px;padding:8px 3px;cursor:pointer;transition:background-color .12s,border-color .12s}
.choice-option[data-choice="preferred"].selected{color:#166347;background:#e3f5ec;border:2px solid #238b60}
.choice-option[data-choice="accepted"].selected{color:#15647b;background:#e5f3f7;border:2px solid #288aa7}
.choice-option[data-choice="rejected"].selected{color:#a54337;background:#fff0eb;border:2px solid #c96c59}
.choice-option:focus-visible{outline:3px solid #138b6b;outline-offset:2px}
.choice-option:active{transform:scale(.985)}
.preference-summary{border:1px solid #d5e6df;border-radius:12px;background:#f7faf8;padding:15px;margin-top:18px}
.preference-summary h3{font-size:14px;color:#244a49;margin:0 0 12px}
.preference-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.preference-stat{border:1px solid #e1eae6;border-radius:9px;background:white;padding:10px 4px;text-align:center;display:flex;flex-direction:column;gap:3px}
.preference-stat strong{color:#144f48;font-size:23px;line-height:1.15;font-variant-numeric:tabular-nums}
.preference-stat span{color:#668080;font-size:11px}
.selection-hint{margin:12px 0 0;font-size:12px;color:#627d78;line-height:1.5}
.demo-note{background:#f1f6f4;color:#47665e;border-left:3px solid #439b7b;border-radius:6px;padding:10px 12px;margin:16px 0 0;font-size:12px;line-height:1.5}
.stage-banner{background:#f6f8f6;border:1px solid #e0e9e5;border-left:3px solid #348b6e;border-radius:8px;padding:11px 14px;margin-bottom:15px;color:#315851}
.stage-banner strong{font-size:13px}
.stage-banner p{font-size:12px;line-height:1.45;margin:3px 0 0}
#confirmation-step{border-top:1px solid #e4ece9;margin-top:25px;padding-top:6px}
@media(max-width:720px){
 .opportunity-grid{grid-template-columns:1fr;gap:9px}
 .opportunity-card{padding:13px 12px}
 .opportunity-details{margin-bottom:10px}
 .choice-actions{gap:6px}
 .preference-summary{padding:13px}
 .preference-stat{padding:9px 2px}
}

/* Pré-cadastro HML: contato e preferência bancária, acessíveis em celular. */
.banking-choice {
  margin: 18px 0 22px;
  border: 1px solid #d8e7e2;
  border-left: 3px solid #168370;
  background: #f5faf8;
  border-radius: 8px;
  padding: 14px 16px;
}
.banking-choice h2 { margin: 0 0 8px; }
.banking-choice p { margin: 4px 0 10px; }
.banking-choice select { width: 100%; max-width: 100%; }
.banking-choice .field-help { display: block; line-height: 1.45; }
@media (max-width: 560px) {
 .banking-choice { padding: 12px; }
 .banking-choice select { font-size: 16px; }
 input#mobile { font-size: 16px; }
}

/* Contract selection must remain visible when PII inputs are hidden in preview. */
.contract-picker{margin:19px 0 22px;max-width:620px}
.contract-picker label{font-size:14px;font-weight:650}
.contract-picker select{min-height:49px;font-size:15px;background:#fff}
.contract-picker .field-help{color:#52706d;line-height:1.5}
@media(max-width:720px){.contract-picker{max-width:none;margin:16px 0 20px}.contract-picker select{min-height:52px;font-size:16px}}

/* Candidate document cards: common to public and restricted RH pilot. */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.document-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:20px 0}
.document-card{min-width:0;border:1px solid #d6e6e0;border-radius:13px;padding:15px;background:#fff;box-shadow:0 2px 8px rgba(5,65,54,.035)}
.document-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.document-card-header strong{font-size:14px;line-height:1.4;color:#164842}
.document-card-state{display:inline-flex;align-items:center;border-radius:30px;padding:5px 9px;font-size:11px;font-weight:650;color:#386b60;background:#e8f5ef;white-space:nowrap}
.document-card[data-slot="IDENTIDADE"]{border-left:3px solid #168370}
.document-card-actions{display:flex;flex-wrap:wrap;gap:8px}
.document-card-action{border:1px solid #a9c9be;border-radius:9px;padding:9px 13px;min-height:43px;background:#f7fbf8;color:#0d6250;font-size:13px;font-weight:650;font-family:inherit;cursor:pointer}
.document-card-action:hover,.document-card-action:focus-visible{background:#def2e8;border-color:#288965}
.document-optional{grid-column:1/-1;padding:13px 15px;border:1px solid #dce9e3;border-radius:11px;background:#f9fbfa}
.document-optional summary{font-weight:650;color:#26594d;cursor:pointer;margin-bottom:8px}
.document-upload-panel{border:1px solid #cde2d8;background:#f4faf7;border-radius:14px;padding:16px;margin:18px 0}
.document-upload-label{font-size:15px;color:#0c5144;font-weight:700;margin:0 0 12px}
.document-upload-actions{display:flex;flex-wrap:wrap;gap:10px}
.document-upload-actions button{min-height:48px}
.document-preview{margin:12px 0;max-width:520px}
.document-preview-name{font-size:13px;color:#425f59;overflow-wrap:anywhere}
.document-preview-image{display:block;max-width:100%;max-height:320px;object-fit:contain;border:1px solid #d5e4dd;border-radius:10px;background:#fff}
@media(max-width:720px){
 .document-checklist{grid-template-columns:1fr;gap:10px}
 .document-card{padding:13px}
 .document-upload-actions{display:grid;grid-template-columns:1fr;gap:9px}
 .document-card-action{min-height:46px}
}

/* One entry point for new and returning applicants. */
.candidate-entry-switch{display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid #e2ece8;padding-bottom:16px;margin-bottom:22px}
.candidate-entry-switch button{flex:1;min-width:165px;min-height:46px;font-weight:650}
.candidate-entry-switch button[aria-pressed="true"]{background:#e6f4ed;border-color:#148369;color:#075348}
.resume-step{background:#f8fbf9;border:1px solid #d9e8e1;border-radius:12px;padding:18px;margin-bottom:16px}
.resume-step h2{margin-top:0}
.resume-step p{color:#42645f;line-height:1.6;font-size:14px}
.resume-step input{min-height:47px}
#resume-code-step button{margin:8px 8px 0 0}
#resume-status,#resume-code-status{font-size:13px;line-height:1.5}
@media(max-width:560px){.candidate-entry-switch{display:grid;grid-template-columns:1fr}.resume-step{padding:13px}}

/* In-page mobile camera; avoids the heavy native full-resolution photo editor. */
.document-live-camera{border:1px solid #c8dfd7;border-radius:12px;background:#f4faf7;padding:12px;max-width:100%;overflow:hidden}
.document-live-camera video{display:block;max-width:100%;width:100%;height:auto;max-height:55vh;object-fit:contain;background:#172e2c;border-radius:8px}
.document-live-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.document-live-actions button{min-height:44px}
.document-preview-image{display:block;width:auto;max-width:100%;max-height:280px;object-fit:contain;border-radius:8px}
@media(max-width:560px){.document-live-camera{padding:8px}.document-live-actions button{flex:1;min-width:145px}}


/* Perfil único do candidato: formulário pós-OTP, sem dependência da vaga. */
.candidate-profile-stage{border:1px solid #d4e5df;background:#fbfdfc;border-radius:14px;padding:18px;margin-bottom:20px}
.candidate-profile-stage h2{color:#164e43;margin-top:0}
.candidate-profile-group{border-top:1px solid #d9e6e1;margin-top:20px;padding-top:15px}
.candidate-profile-group h3{color:#115747;font-size:16px;margin:0 0 12px}
.candidate-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.profile-field{display:flex;flex-direction:column;gap:5px;min-width:0;font-weight:600;color:#29564e;font-size:13px}
.profile-field input,.profile-field select,.candidate-profile-dependent-row input{min-height:45px;border-radius:7px;border:1px solid #b9d0c7;padding:9px;background:white;max-width:100%;font-size:14px}
.candidate-vt-options{display:grid;gap:8px}
.candidate-vt-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,190px);align-items:center;gap:15px;border:1px solid #d4e6dd;border-radius:10px;padding:15px 17px;background:#fff;transition:border-color .15s,background .15s}
.candidate-vt-entry.is-selected{border-color:#078573;background:#f0faf6}
.candidate-vt-entry .candidate-vt-choice{display:flex;align-items:center;gap:12px;font-weight:700;font-size:15px;color:#13443d;cursor:pointer;min-width:0}
.candidate-vt-entry .candidate-vt-choice input[type=checkbox]{width:20px;height:20px;min-width:20px;min-height:20px;margin:0;accent-color:#008577;flex:0 0 auto}
.candidate-vt-entry .candidate-vt-count{display:flex;flex-direction:column;gap:5px;font-weight:500;font-size:12px;color:#36635d}
.candidate-vt-entry select{min-height:42px;width:100%;padding:7px 10px;border:1px solid #b9d0c7;border-radius:7px;background:#fff}
.candidate-vt-entry select:disabled{opacity:.58;cursor:not-allowed}
.candidate-profile-dependent-row select{min-height:45px;width:100%;border:1px solid #b9d0c7;border-radius:7px;padding:9px;background:#fff;font-size:14px}
#candidate-cep-status{font-weight:400;color:#367266;font-size:12px}
@media(max-width:540px){.candidate-vt-entry{grid-template-columns:1fr;gap:11px}.candidate-vt-entry .candidate-vt-count{margin-left:32px}}
.candidate-profile-dependents{padding:10px;background:#f2f8f5;border-radius:10px;margin-top:14px}
.candidate-profile-dependent-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:7px;padding:7px 0}
.candidate-profile-dependent-row label{font-size:12px}
.candidate-profile-bottom{position:sticky;bottom:0;padding:14px 0;background:#fbfdfc;display:flex;justify-content:space-between;align-items:center;gap:12px}
@media(max-width:900px){.candidate-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-profile-dependent-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.candidate-profile-grid,.candidate-profile-dependent-row{grid-template-columns:1fr}.candidate-profile-stage{padding:11px}.candidate-profile-bottom{flex-direction:column;align-items:stretch}}
