@media(max-width:900px){
 html.phone-cv-first:not(.phone-cv-ready) #s2{display:none}
 html.phone-cv-first #s2 h2{font-size:36px;margin:8px 0 12px}
 html.phone-cv-first #s2 .sub{font-size:16px;line-height:1.45;margin:0 0 24px;max-width:30ch}
 html.phone-cv-first #s2 .privacy-note{display:none}
 html.phone-cv-first #s2 .cv-dropzone{background:#1f2a2e;color:#fff;border:0;padding:17px 20px;border-radius:8px;min-height:56px;display:flex;justify-content:center}
 html.phone-cv-first #s2 .cv-dropzone strong{font:700 16px Figtree,Arial,sans-serif}
 html.phone-cv-first #s2 .cv-methods{margin:14px 0 0}
 html.phone-cv-first #s2 #chooseCvPaste,html.phone-cv-first .cv-email-link{display:block;background:none;color:#1f2a2e;border:0;padding:10px 0;font:400 14px Figtree,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px;text-align:left}
 html.phone-cv-first #s2:not(.cv-selected) .cv-consent{display:none}html.phone-cv-first #s2:not(.cv-ready)>.card>.quiet{display:none}
 html.phone-cv-first #s2 #uploadStatus:empty{display:none}
 html.phone-cv-first #s2 .cv-consent>.quiet{display:none}
 #resumeEmailSheet{border:1px solid #ddd7cf;border-radius:18px 18px 0 0;padding:24px;max-width:520px;width:100%;max-height:90dvh;margin:auto auto 0;color:#1f2a2e;background:#fbfaf7}
 #resumeEmailSheet::backdrop{background:#1f2a2e77}#resumeEmailSheet h2{font-size:28px;margin:18px 0 12px}#resumeEmailSheet input[type=email]{width:100%;margin:8px 0 16px;min-height:48px}#resumeEmailSheet .resume-email-consent{display:flex;gap:10px;font-size:13px;margin:0 0 18px}#resumeEmailSheet input[type=checkbox]{width:20px;min-height:20px;flex-shrink:0}
}

@media(max-width:767px){body.desk-shell .wrap{padding-bottom:32px}body.desk-shell:has(#s2) .desk-group-link{min-height:56px}}

@media(max-width:900px){html.phone-cv-first #s2:not(.hidden) .actions{display:flex!important;position:fixed;z-index:45;left:0;right:0;bottom:0;margin:0;padding:12px 18px;background:#f8f4ed;border-top:1px solid #ddd7cf;justify-content:center}html.phone-cv-first #s2 .actions .secondary{display:none}html.phone-cv-first #s2 .actions .primary{width:100%;max-width:520px;min-height:48px}html.phone-cv-first #s2>.card{padding-bottom:110px}html.phone-cv-first #cvContinue:disabled{cursor:default;opacity:.55}}
@media(max-width:767px){html.phone-cv-first body.desk-shell #s2 .actions{bottom:calc(74px + env(safe-area-inset-bottom,0px))}}

/* Every assessment action must clear the shared phone navigation, not just Add CV. */
.info-grid.test-counts{grid-template-columns:repeat(2,minmax(0,1fr))}
.question-data{width:100%;border-collapse:collapse;font:13px/1.25 Figtree,Arial,sans-serif;margin:0 0 12px;flex:none}.question-data caption{text-align:left;font-size:12px;font-weight:600;margin-bottom:4px}.question-data th,.question-data td{border:1px solid #d8d4cd;padding:5px 8px;text-align:right;overflow-wrap:anywhere}.question-data th:first-child{text-align:left}.question-data thead{background:#eeeae3}.question-data tbody{background:#fbfaf7}
@media(max-width:767px){html.phone-cv-first body.desk-shell .step:not(.hidden) .actions{position:fixed;bottom:calc(74px + env(safe-area-inset-bottom,0px));left:0;right:0;z-index:45;padding:12px 16px;background:#f4f1ec}html.phone-cv-first body.desk-shell .wrap{padding-bottom:180px}}

/* Question screens use the visible phone height rather than a scrolling page. */
@media(max-width:767px){
 html:has(#s7:not(.hidden)),html:has(#s5:not(.hidden)){height:100%;overflow:hidden}
 body:has(#s7:not(.hidden)),body:has(#s5:not(.hidden)){height:100dvh;overflow:hidden;padding-bottom:0!important}
 body:has(#s7:not(.hidden)) .wrap,body:has(#s5:not(.hidden)) .wrap{height:100dvh;display:flex;flex-direction:column;padding:0 16px calc(156px + env(safe-area-inset-bottom,0px))!important}
 body:has(#s7:not(.hidden)) .top,body:has(#s5:not(.hidden)) .top{flex:none;padding:10px 0}
 body:has(#s7:not(.hidden)) .journey-progress,body:has(#s5:not(.hidden)) .journey-progress{flex:none;padding:2px 0 8px}
 #s7:not(.hidden),#s5:not(.hidden){flex:1;min-height:0;display:flex;flex-direction:column}
 #s7>.card,#s5>.card{flex:1;min-height:0;display:flex;flex-direction:column;padding:0;margin:0}
 #s7 .quiz-counter,#s5 .quiz-counter{flex:none;font-size:11px;line-height:1.25;margin:3px 0}
 #numericalQuiz,#commercialQuiz{flex:1;min-height:0}
 #s7 .q,#s5 .q{height:100%;display:flex;flex-direction:column;margin:0}
 #s7 .q>p,#s5 .q>p{flex:none;font-size:clamp(17px,2.8dvh,24px);line-height:1.18;margin:8px 0 12px}
 #s7 .opts,#s5 .opts{display:grid;gap:6px;min-height:0}
 #s7 .opts label,#s5 .opts label{font-size:clamp(13px,1.9dvh,15px);line-height:1.2;min-height:44px;margin:0;padding:8px 10px}
 #s7 .opts input,#s5 .opts input{margin:0;flex-shrink:0}
 #s7 .question-data,#s5 .question-data{font-size:12px;margin-bottom:8px}
 #s7 .question-data th,#s7 .question-data td,#s5 .question-data th,#s5 .question-data td{padding:4px 6px}
 #s7 .status,#s5 .status{flex:none;margin:6px 0 0;font-size:12px;line-height:1.25}
 #s7 .status:empty,#s5 .status:empty{display:none}
}
@media(max-width:767px) and (max-height:650px){
 body:has(#s7:not(.hidden)) .top,body:has(#s5:not(.hidden)) .top{padding:2px 0}
 body:has(#s7:not(.hidden)) .top .logo,body:has(#s5:not(.hidden)) .top .logo{font-size:22px}
 body:has(#s7:not(.hidden)) .top .save-exit,body:has(#s5:not(.hidden)) .top .save-exit{font-size:12px;padding:4px 0}
 body:has(#s7:not(.hidden)) .journey-track,body:has(#s5:not(.hidden)) .journey-track{display:none}
 #s7 .quiz-counter,#s5 .quiz-counter{display:none}
 body:has(#s7:not(.hidden)) .journey-meta,body:has(#s5:not(.hidden)) .journey-meta{margin-top:4px;font-size:11px}
 #s7 .q>p,#s5 .q>p{font-size:17px;margin:5px 0 8px}
 #s7 .opts,#s5 .opts{gap:4px}
 #s7 .opts label,#s5 .opts label{font-size:13px;padding:6px 8px}
 #s7 .question-data,#s5 .question-data{font-size:11px;line-height:1.1;margin-bottom:6px}
 #s7 .question-data caption,#s5 .question-data caption{font-size:11px;line-height:1.1;margin-bottom:3px}
 #s7 .question-data th,#s7 .question-data td,#s5 .question-data th,#s5 .question-data td{padding:2px 4px}
}

.preparation-choice{border:0;padding:0;margin:24px 0}.preparation-choice legend{font-weight:600;font-size:19px;line-height:1.3}.preparation-choice .quiet{margin:6px 0 12px}.preparation-choice [role=group]{display:grid;gap:10px}.preparation-option{font:500 15px/1.3 Figtree,Arial,sans-serif;text-align:left;min-height:48px;padding:12px 14px;border:1px solid #ccc7be;border-radius:8px;color:#1f2a2e;background:#fbfaf7}.preparation-option[aria-pressed=true]{background:#1f2a2e;color:white;border-color:#1f2a2e}.preparation-option:focus-visible{outline:3px solid #b99050;outline-offset:3px}

#cvFileReceipt[hidden]{display:none!important}
