/* Shared candidate authentication layout. Artwork remains in normal document flow. */
html body.auth-page{--auth-bg:#030b19;--auth-text:#edf5ff;--auth-muted:#a4b9d4;--auth-card:#091c34f2;--auth-soft:#102b49;--auth-field:#061326;--auth-border:#29496b;--auth-accent:#76caff;--text:var(--auth-text);--muted:var(--auth-muted);background:radial-gradient(ellipse at 20% 35%,#09356366,transparent 55%),var(--auth-bg);color:var(--auth-text);height:auto;min-height:100dvh;overflow-y:auto}
html[data-theme=light] body.auth-page{--auth-bg:#f1f6ff;--auth-text:#193b60;--auth-muted:#526984;--auth-card:#ffffffed;--auth-soft:#e5efff;--auth-field:#fff;--auth-border:#bed2eb;--auth-accent:#215dbb;background:radial-gradient(ellipse at 20% 35%,#cbdeff88,transparent 55%),var(--auth-bg)}
html body.auth-page #mainHeader{background:var(--auth-card);border-bottom:1px solid var(--auth-border);backdrop-filter:blur(16px);min-height:80px}
html body.auth-page .header-shell{width:min(1280px,calc(100% - 48px));max-width:1280px;min-height:80px;padding:0;display:flex;justify-content:space-between;align-items:center;gap:20px}
html body.auth-page #mainMenu{gap:24px}html body.auth-page #mainMenu a{color:var(--auth-muted);font-size:14px}
html body.auth-page .header-actions{display:flex;align-items:center;gap:12px;transform:none;margin:0;flex-shrink:0}
html body.auth-page .header-actions .btn{min-height:44px;font-size:13px;padding:10px 16px;background:var(--auth-soft);color:var(--auth-text);border:1px solid var(--auth-border);box-shadow:none}
.auth-page .appearance-control{display:flex;align-items:center;gap:10px;position:relative;border:1px solid var(--auth-border);border-radius:12px;background:var(--auth-soft);padding:8px 12px;min-height:46px}
.auth-page .appearance-control__copy{display:grid;gap:2px}.auth-page .appearance-control__label{font-size:10px;color:var(--auth-muted)}.auth-page .appearance-control__value{font-size:13px;font-weight:800;color:var(--auth-text)}.auth-page .appearance-control__icon{color:var(--auth-accent)}.auth-page .appearance-control__chevron{font-size:12px;color:var(--auth-muted)}
.auth-page .appearance-control select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.auth-page .appearance-control:focus-within{outline:2px solid var(--auth-accent);outline-offset:3px}
html body.auth-page :is(.candidate-login-main,.page){display:block;width:100%;height:auto;min-height:calc(100dvh - 60px);padding:116px 32px 40px;overflow:visible}
html body.auth-page :is(.candidate-login-shell,.shell){width:min(1256px,100%);max-width:1256px;height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start;gap:clamp(32px,5vw,68px);margin:0 auto;transform:none}
html body.auth-page :is(.candidate-story,.intro){position:relative;display:flex;flex-direction:column;gap:18px;width:100%;min-width:0;max-width:none;min-height:0;height:auto;padding:24px 0 0;overflow:visible;background:transparent;border:0;box-shadow:none}
html body.auth-page :is(.candidate-headline,.headline){font-family:Sora,sans-serif;font-size:clamp(30px,3.2vw,44px);line-height:1.16;letter-spacing:-1.4px;max-width:100%;margin:0;color:var(--auth-text)}
html body.auth-page :is(.candidate-headline,.headline) span{color:var(--auth-accent);background:none;-webkit-text-fill-color:currentColor}
html body.auth-page :is(.candidate-copy,.lead){font-size:15px;line-height:1.7;max-width:46ch;margin:0;color:var(--auth-muted)}
html body.auth-page :is(.candidate-kicker,.eyebrow,.candidate-secure-badge,.signup-secure-badge){background:var(--auth-soft);border-color:var(--auth-border);color:var(--auth-accent);font-size:10px;letter-spacing:1px;padding:8px 11px;width:fit-content}
html body.auth-page :is(.candidate-story-visual,.signup-story-visual){position:relative;inset:auto;width:100%;height:340px;min-height:0;margin:4px 0 0;order:3;display:grid;place-items:center;overflow:hidden;isolation:isolate}
html body.auth-page .candidate-story-visual .candidate-login-photo{position:relative;inset:auto;display:grid;place-items:center;width:100%;height:100%;overflow:hidden}
html body.auth-page :is(.candidate-story-visual .candidate-login-photo img,.signup-story-visual img){position:relative;inset:auto;display:block;width:auto;max-width:100%;height:340px;max-height:100%;margin:0 auto;object-fit:contain;object-position:center;transform:none;filter:drop-shadow(0 12px 22px #19477226);-webkit-mask-image:none;mask-image:none}
html body.auth-page :is(.candidate-login-rings,.signup-rings,.signup-dots,.candidate-login-dots){inset:8% 8%;width:auto;height:auto}
html body.auth-page :is(.candidate-trust-list,.intro-points){order:4;display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;max-width:none;margin:0}
html body.auth-page :is(.candidate-trust-item,.intro-point){width:100%;max-width:none;min-height:0;margin:0;padding:14px;border:1px solid var(--auth-border);background:var(--auth-card);border-radius:14px;align-items:center}
html body.auth-page :is(.candidate-trust-item strong,.intro-point strong){color:var(--auth-text);font-size:13px;line-height:1.4}
html body.auth-page :is(.candidate-trust-item p,.intro-point span){color:var(--auth-muted);font-size:12px;line-height:1.5}
html body.auth-page :is(.candidate-story-meta,.support-note){order:5;width:100%;max-width:none;margin:0;color:var(--auth-muted);font-size:12px}
html body.auth-page .support-note-copy{font-size:12px}
html body.auth-page :is(.candidate-form-panel,.form-card){width:100%;max-width:none;min-width:0;min-height:0;height:auto;max-height:none;padding:32px;border-radius:24px;background:radial-gradient(ellipse at 100% 0,var(--auth-soft),transparent 60%),var(--auth-card);border:1px solid var(--auth-border);box-shadow:0 24px 65px #102e511c;transform:none;gap:20px;overflow:visible}
html body.auth-page .form-wrap{width:100%;max-width:none;min-width:0;transform:none;align-items:stretch}
html body.auth-page :is(.candidate-form-title,.form-title){font-size:30px;line-height:1.2;color:var(--auth-text)}
html body.auth-page :is(.candidate-form-copy,.helper){font-size:14px;line-height:1.6;color:var(--auth-muted)}
html body.auth-page :is(.candidate-form-kicker,.form-kicker){color:var(--auth-accent);font-size:11px}
html body.auth-page :is(.candidate-field label,.field label,.password-reset-field label){font-size:13px;color:var(--auth-text);font-weight:700}
html body.auth-page :is(.candidate-field input,.field-control input,.field-control select,.password-reset-input-wrap input){min-height:52px;font-size:16px;color:var(--auth-text);background:var(--auth-field);border:1px solid var(--auth-border);border-radius:11px}
html body.auth-page :is(input,select)::placeholder{color:var(--auth-muted);opacity:.85}
html body.auth-page :is(.candidate-field input,.field-control input,.field-control select,.password-reset-input-wrap input):focus{border-color:var(--auth-accent);outline:2px solid var(--auth-accent);outline-offset:2px;box-shadow:none}
html body.auth-page :is(.candidate-input-wrap>i,.field-control>i,.field-toggle,.candidate-secure-badge i,.signup-secure-badge i){color:var(--auth-accent)}
html body.auth-page :is(.field-toggle,.candidate-password-toggle){min-width:44px;min-height:44px}
html body.auth-page :is(.field,.candidate-field){margin-bottom:14px}
html body.auth-page .field-row{gap:14px;min-width:0}
html body.auth-page .form-section-title{font-size:15px;color:var(--auth-text)}
html body.auth-page :is(.form-section-copy,.password-strength-text,.file-meta,.upload-note,.terms-consent,.candidate-security-note){font-size:12px;line-height:1.6;color:var(--auth-muted)}
html body.auth-page :is(.step-pill,.photo-card,.photo-preview,.candidate-security-note,.helper-banner){background:var(--auth-soft);border-color:var(--auth-border);color:var(--auth-text)}
html body.auth-page .step-pill{padding:13px;min-height:62px}.auth-page .step-indicator{margin:20px 0}
html body.auth-page .step-pill strong{font-size:12px;color:var(--auth-text)}html body.auth-page .step-pill span{font-size:11px;color:var(--auth-muted)}
html body.auth-page .step-pill.is-active{border-color:var(--auth-accent)}
html body.auth-page :is(.candidate-form-submit,.submit-btn,.step-btn:not(.is-secondary),.candidate-form .btn-primary,.password-reset-actions .btn-primary){min-height:52px;font-size:15px;border-radius:11px;background:linear-gradient(110deg,#1768d7,#594bcf);border-color:#376ac7;color:#fff;box-shadow:0 10px 24px #235bc028}
html body.auth-page :is(.step-btn.is-secondary,.candidate-form-utility button,.candidate-form-utility a,.candidate-form-footer a,.terms-consent a,.login-link a){color:var(--auth-accent);font-size:13px}
html body.auth-page :is(.candidate-form-footer,.login-link){font-size:13px;color:var(--auth-muted)}
html body.auth-page :is(.candidate-login-copyright,.candidate-signup-copyright){position:relative;inset:auto;margin:0;padding:16px 24px 24px;color:var(--auth-muted);font-size:12px}
html body.auth-page .password-reset-modal{background:var(--auth-card);color:var(--auth-text);border-color:var(--auth-border);max-height:calc(100dvh - 24px);overflow-y:auto}
html body.auth-page :is(.password-reset-title,.password-reset-hint strong){color:var(--auth-text)}html body.auth-page :is(.password-reset-copy,.password-reset-hint){color:var(--auth-muted)}
html body.auth-page :is(.password-reset-kicker,.password-reset-close){background:var(--auth-soft);color:var(--auth-accent);border-color:var(--auth-border)}
html[data-theme=light] body.auth-page :is(.candidate-alert,.form-alert,.errorlist,.password-reset-message.is-error){background:#fff0f0;color:#9c2533;border-color:#eab2ba}
html[data-theme=light] body.auth-page .shortlistii-logo .logo-text{color:#183b5e}html[data-theme=light] body.auth-page .shortlistii-logo .person .body{background:#193b60;box-shadow:none}html[data-theme=light] body.auth-page .shortlistii-logo .person .head{background:#276dd0;box-shadow:none}
html[data-theme=light] body.auth-page :is(.vignette,.noise-layer){opacity:.08}
html body.auth-page #authParticles{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:.55}
html body.auth-page :is(.page,.candidate-login-main){position:relative;z-index:1}
@media(max-width:960px){html body.auth-page :is(.candidate-login-shell,.shell){grid-template-columns:minmax(0,1fr);max-width:620px;gap:30px}html body.auth-page :is(.candidate-form-panel,.form-wrap){order:1}html body.auth-page :is(.candidate-story,.intro){order:0;padding-top:0}html body.auth-page #mainMenu{display:none}}
@media(max-width:600px){html body.auth-page .header-shell{width:calc(100% - 28px);gap:10px}html body.auth-page .header-actions{gap:8px}html body.auth-page .header-actions>.btn{display:none}html body.auth-page :is(.candidate-login-main,.page){padding:104px 16px 24px}html body.auth-page :is(.candidate-form-panel,.form-card){padding:24px 20px}html body.auth-page :is(.candidate-form-title,.form-title){font-size:27px}html body.auth-page :is(.candidate-headline,.headline){font-size:32px}html body.auth-page :is(.candidate-trust-list,.intro-points){grid-template-columns:1fr}html body.auth-page :is(.field-row,.field-row[style]){grid-template-columns:minmax(0,1fr)!important}html body.auth-page .shortlistii-logo .logo-text{font-size:26px}html body.auth-page .shortlistii-logo .logo-ii{transform:none;margin:0 0 3px 2px;gap:4px;height:20px;align-items:flex-end}html body.auth-page .shortlistii-logo .person{width:7px;height:20px}html body.auth-page .shortlistii-logo .person .head{width:6px;height:6px;top:0}html body.auth-page .shortlistii-logo .person .body{width:5px;height:12px}html body.auth-page .shortlistii-logo .person .tie{width:2px;height:7px;top:8px}html body.auth-page :is(.candidate-story-visual,.signup-story-visual){height:300px}html body.auth-page :is(.candidate-story-visual .candidate-login-photo img,.signup-story-visual img){height:300px}}
@media(prefers-reduced-motion:reduce){html body.auth-page *,html body.auth-page *::before,html body.auth-page *::after{animation:none!important;transition:none!important}}

/* A button label and its arrow stay centered as a single unit. */
html body.auth-page :is(.step-btn,.submit-btn,.candidate-form-submit,.candidate-submit){display:inline-flex;align-items:center;justify-content:center;gap:10px;text-align:center;line-height:1.3}
html body.auth-page :is(.step-btn,.submit-btn,.candidate-form-submit,.candidate-submit)>i{position:static;transform:none;flex:0 0 auto;margin:0;line-height:1}
html body.auth-page .step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
html body.auth-page #signupStepNext{width:100%;min-height:52px}
html body.auth-page .step-actions>span:empty{display:none}
html body.auth-page #mainHeader.scrolled{background:var(--auth-card);border-bottom-color:var(--auth-border)}
html body.auth-page :is(.step-pill i,.form-section-title i,.candidate-trust-item i,.intro-point-badge,.candidate-story-meta i){color:var(--auth-accent)}
html body.auth-page :is(.intro-point-badge,.candidate-trust-item i){background:var(--auth-soft)}
html body.auth-page :is(.submit-btn,.step-btn):disabled{opacity:1;box-shadow:none;background:var(--auth-soft);color:var(--auth-muted);border:1px solid var(--auth-border);cursor:not-allowed}
html body.auth-page input[type=file]::file-selector-button{background:var(--auth-soft);color:var(--auth-accent);border:1px solid var(--auth-border);border-radius:8px;padding:10px 12px;margin-right:12px}
html body.auth-page .field-toggle i{color:var(--auth-accent)}
html body.auth-page .intro-point:nth-child(n) .intro-point-badge{color:var(--auth-accent);background:var(--auth-soft)}
html body.auth-page #signupStepNext:disabled{background:var(--auth-soft);color:var(--auth-muted);border:1px solid var(--auth-border);box-shadow:none}
html body.auth-page #signupStepBack{background:var(--auth-soft);color:var(--auth-text);border:1px solid var(--auth-border);box-shadow:none}
html body.auth-page #candidateLoginSubmit{display:inline-flex;align-items:center;justify-content:center;gap:10px}
html body.auth-page .candidate-login-note{color:var(--auth-muted);font-size:12px;line-height:1.6}
html body.auth-page :is(.candidate-security-note i,.password-reset-input-wrap i){color:var(--auth-accent)}
html[data-theme=light] body.auth-page :is(.success-banner,.password-reset-message.is-success){background:#e8f6ef;color:#205d43;border-color:#a6d3bc}
html[data-theme=light] body.auth-page .success-copy{color:#205d43}
/* The shared radial backdrop replaces oversized legacy beam elements. */
html body.auth-page .light-beam{display:none}
html body.auth-page .candidate-form-panel::before{inset:0 0 auto auto;max-width:100%}
html body.auth-page :is(.btn,.step-btn,.submit-btn){overflow:hidden}
html body.auth-page .form-card::before{inset:0 0 auto auto;max-width:100%}

/* The same navy surfaces, blue actions and generous spacing as the employer page. */
html body.auth-page{--auth-card:#0a1b31;--auth-soft:#102943;--auth-muted:#a7bbd4;--auth-border:#294969;font-family:Manrope,sans-serif}
html[data-theme=light] body.auth-page{--auth-bg:#f5f8fd;--auth-card:#fff;--auth-soft:#e7f0fe;--auth-muted:#506782;--auth-border:#c8d9ec;--auth-accent:#2162b1}
/* Approved editorial composition; all preview labels remain accessible HTML. */
html body.auth-page :is(.candidate-login-shell,.shell){max-width:1440px;width:100%;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:40px;align-items:start}
html body.auth-page :is(.candidate-form-panel,.form-card){border-radius:18px;padding:32px;background:var(--auth-card);box-shadow:0 20px 60px #00122b24}
html body.auth-page :is(.candidate-form-panel,.form-card)::before,html body.auth-page :is(.candidate-form-panel,.form-card)::after{display:none}
html body.auth-page :is(.candidate-actions .btn,.submit-btn,.step-btn:not(#signupStepBack)){background:#2463df;color:#fff;border:1px solid #3878f0;border-radius:8px;box-shadow:none}
html body.auth-page :is(.step-btn,.submit-btn):disabled{background:var(--auth-soft);border-color:var(--auth-border);color:var(--auth-muted)}
html body.auth-page .candidate-field{margin-bottom:0}
html body.auth-page .candidate-form{gap:20px}
html body.auth-page .step-pill{border-radius:10px}
html body.auth-page .step-pill.is-active{background:var(--auth-soft);box-shadow:inset 0 2px var(--auth-accent)}
.auth-story{min-width:0;padding-top:12px}
.auth-story__heading{position:relative;z-index:1;padding:0 8px}
.auth-story__eyebrow{margin:0 0 18px;color:var(--auth-accent);font-size:11px;letter-spacing:3px;font-weight:700}
.auth-story h1{margin:0;font-family:Sora,sans-serif;font-size:clamp(32px,3.2vw,48px);line-height:1.2;letter-spacing:-1.7px;color:var(--auth-text)}
.auth-story h1 span{color:var(--auth-accent)}
.auth-story__copy{margin:18px 0 0;max-width:64ch;color:var(--auth-muted);font-size:15px;line-height:1.75}
.auth-scene{position:relative;isolation:isolate;min-height:540px;margin-top:28px;border-radius:20px;overflow:hidden;background:#06172c}
.auth-scene__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:38% center}
.auth-scene::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#030b1970,transparent 30%);pointer-events:none}
.auth-scene__cards{position:relative;display:grid;gap:14px;width:35%;min-width:220px;margin-left:auto;padding:26px 20px 26px 0}
.auth-preview{padding:18px;border:1px solid #41678a;border-radius:12px;background:#07192de8;box-shadow:0 12px 28px #0003;backdrop-filter:blur(12px);color:#edf5ff}
.auth-preview h2{margin:0;font-family:Manrope,sans-serif;font-size:14px;font-weight:800;line-height:1.45;color:inherit}
.auth-preview__caption{margin:5px 0 16px;color:#9bd3fb;font-size:11px}
.auth-preview ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.auth-preview li{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.4}
.auth-preview i{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;background:#183754;border-radius:8px;color:#8dcfff;font-size:21px}
.auth-preview--detail{display:flex;gap:12px;align-items:start}
.auth-preview--detail p{margin:6px 0 0;font-size:12px;line-height:1.65;color:#b6cce2}
.auth-story__footer{display:flex;align-items:center;gap:9px;padding:18px 8px;margin:0;font-size:12px;color:var(--auth-muted)}
.auth-story__footer i{color:var(--auth-accent);font-size:18px}
html[data-theme=light] .auth-preview{background:#fffffff0;color:#193b60;border-color:#abc9e5;box-shadow:0 12px 28px #001e4630}
html[data-theme=light] .auth-preview :is(.auth-preview__caption,p){color:#506782}
html[data-theme=light] .auth-preview i{background:#e7f0fe;color:#2162b1}
@media(min-width:961px) and (max-width:1200px){
 html body.auth-page :is(.candidate-login-shell,.shell){gap:24px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
 .auth-scene{min-height:580px}.auth-scene__cards{min-width:190px;padding-right:12px}.auth-preview{padding:12px}.auth-scene__photo{object-position:32% center}
}
@media(max-width:960px){
 html body.auth-page :is(.candidate-login-shell,.shell){display:flex;flex-direction:column;max-width:620px;gap:26px}
 .auth-story{display:contents}.auth-story__heading{order:0;padding:0}.auth-story h1{font-size:34px}
 html body.auth-page :is(.candidate-form-panel,.form-wrap){order:1;width:100%}
 .auth-scene{order:2;width:100%;margin-top:0;min-height:480px}.auth-story__footer{order:3;padding:0}
}
@media(max-width:600px){
 html body.auth-page :is(.candidate-form-panel,.form-card){padding:24px 20px}
 .auth-story h1{font-size:30px;letter-spacing:-1px}.auth-story__copy{font-size:14px}
 .auth-scene{min-height:0;padding-top:280px}.auth-scene__photo{height:330px;object-position:35% center}
 .auth-scene__cards{width:auto;min-width:0;margin:0;padding:14px;grid-template-columns:1fr 1fr;gap:10px;background:linear-gradient(transparent,#06172c 15%)}
 .auth-preview--workspace{grid-column:1 / -1}.auth-preview ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.auth-preview li{flex-direction:column;align-items:flex-start;font-size:11px}
 .auth-preview--detail{display:block}.auth-preview--detail>i{margin-bottom:10px}.auth-preview{padding:14px}.auth-preview h2{font-size:13px}
}

/* Match the landing-page primary action palette. */
html body.auth-page .header-actions>.btn{color:#fff;background:#2463df;border-color:#3878f0;box-shadow:none;opacity:1;font-weight:800}
html[data-theme=light] body.auth-page .header-actions>.btn{background:linear-gradient(135deg,#1265de,#0754c5);border-color:#1265de}
html body.auth-page .header-actions>.btn:hover{filter:brightness(1.08)}
html body.auth-page .header-actions>.btn:focus-visible{outline:2px solid var(--auth-accent);outline-offset:3px}
@media(max-width:960px){
 html body.auth-page .header-shell{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:10px 0}
 html body.auth-page .header-shell>.brand{grid-column:1;grid-row:1}
 html body.auth-page .header-actions{display:contents}
 html body.auth-page .appearance-control{grid-column:2;grid-row:1;justify-self:end}
 html body.auth-page #mainMenu{display:flex;grid-column:1;grid-row:2;gap:14px;align-items:center}
 html body.auth-page #mainMenu a{font-size:12px;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}
 html body.auth-page .header-actions>.btn{display:inline-flex;grid-column:2;grid-row:2;justify-self:end;font-size:12px;padding:10px 12px;gap:6px}
 html body.auth-page :is(.candidate-login-main,.page){padding-top:150px}
}
@media(max-width:360px){html body.auth-page #mainMenu{gap:9px}html body.auth-page .header-actions>.btn{padding-inline:9px;font-size:11px}html body.auth-page .header-actions>.btn>i{display:none}}
/* Provider branding stays intact inside theme-aware secondary actions. */
html body.auth-page .candidate-social-button{background:var(--auth-field);color:var(--auth-text);border-color:var(--auth-border);border-radius:8px;box-shadow:none;min-height:48px}
html body.auth-page .candidate-social-button:disabled{opacity:.7}
html body.auth-page .candidate-social-button small,html body.auth-page .candidate-social-notice{color:var(--auth-muted)}
html body.auth-page .candidate-social-notice a{color:var(--auth-accent)}

/* Matched photographic scenes switch with the existing app theme. */
.auth-scene__photo--light{display:none}
html[data-theme=light] .auth-scene__photo--dark{display:none}
html[data-theme=light] .auth-scene__photo--light{display:block}
html[data-theme=light] .auth-scene{background:#e7f0fe}
@media(max-width:600px){html[data-theme=light] .auth-scene__cards{background:linear-gradient(transparent,#e7f0fe 15%)}}

html body.auth-page .form-card{gap:14px}
html body.auth-page .form-card>.helper{margin:0}
html body.auth-page .step-indicator{margin:10px 0}
html body.auth-page .form-card .field{margin-bottom:10px}
html body.auth-page .form-card .field>p{font-size:12px;line-height:1.5;margin:6px 0 0;color:var(--auth-muted)}
.auth-signin-link{margin:0;text-align:center;color:var(--auth-muted);font-size:13px}
.auth-signin-link a{color:var(--auth-accent);font-weight:700}

/* Reference composition: full-bleed editorial scene and compact outlined form. */
html body.auth-page{--auth-card:#061628;--auth-field:#0a1b2d;--auth-border:#46647e}
html[data-theme=light] body.auth-page{--auth-card:#fffffff2;--auth-field:#f8fbff;--auth-border:#adc5dc}
html body.auth-page :is(.form-card,.candidate-form-panel){border:1px solid #247aa5;border-radius:12px;box-shadow:none;padding:30px 32px;background:var(--auth-card)}
html body.auth-page .signup-secure-badge{padding:0;background:none;border:0;letter-spacing:2.5px;font-size:11px;gap:12px;margin-bottom:2px}
html body.auth-page .signup-secure-badge i{font-size:23px}
html body.auth-page .form-title{font-size:32px;letter-spacing:-1px}
html body.auth-page .form-card>.helper{font-size:15px}
html body.auth-page .step-indicator{display:flex;gap:18px;align-items:center;margin:8px 0 24px}
html body.auth-page .step-pill{display:flex;align-items:center;gap:12px;flex:1;padding:0;min-height:38px;background:none;border:0;box-shadow:none;border-radius:0}
html body.auth-page .step-pill strong{display:grid;place-items:center;flex:0 0 36px;height:36px;border:1px solid var(--auth-muted);border-radius:50%;font-size:17px;font-weight:500;color:var(--auth-muted);background:var(--auth-soft)}
html body.auth-page .step-pill span{font-size:12px;white-space:nowrap}
html body.auth-page .step-pill.is-active strong{background:linear-gradient(130deg,#79ddff,#1199ef);color:#03203a;border-color:#4bbffc}
html body.auth-page .step-pill.is-active span{color:var(--auth-text)}
html body.auth-page .step-pill:first-child::after{content:"";height:1px;background:var(--auth-border);flex:1;min-width:18px}
html body.auth-page #signupStepOne>.form-section-title,html body.auth-page #signupStepOne>.form-section-copy{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
html body.auth-page .form-card .form-section{padding-top:0}
html body.auth-page .form-card .field{margin-bottom:19px}
html body.auth-page .form-card .field-row--split{margin-bottom:0;gap:18px}
html body.auth-page .form-card .field label{font-size:13px;font-weight:500;margin-bottom:8px}
html body.auth-page .form-card .field-control :is(input,select){height:49px;min-height:49px;border-radius:6px;font-size:13px;padding-top:12px;padding-bottom:12px;box-shadow:none}
html body.auth-page .form-card .field-control>i{font-size:20px}
html body.auth-page #signupStepNext{min-height:49px;background:#1765f5;border-radius:6px;box-shadow:none}
html body.auth-page #signupStepNext:disabled{background:#1765f5;color:#fff;opacity:.65}
html body.auth-page .auth-signin-link{margin-top:8px}
.auth-preview{border-radius:10px;border-color:#4986ae;background:#061a2ddd;padding:20px}
.auth-preview h2{font-size:16px}.auth-preview__caption{font-size:12px}
.auth-preview li{font-size:13px;padding:8px 0;border-bottom:1px solid #41678a55}
.auth-preview li:last-child{border-bottom:0}
.auth-preview li::after{content:'›';margin-left:auto;color:#8dcfff;font-size:22px}
.auth-preview i{width:40px;height:40px;flex-basis:40px;font-size:26px}
.auth-preview--detail p{font-size:14px}.auth-preview--detail h2{font-size:14px}
@media(min-width:961px){
 html body.auth-page :is(.candidate-login-main,.page){padding:92px 36px 0;min-height:0}
 html body.auth-page :is(.candidate-login-shell,.shell){max-width:1600px;grid-template-columns:minmax(0,1.72fr) minmax(0,1fr);gap:24px 32px;position:relative;align-items:stretch}
 .auth-story{position:relative;isolation:isolate;min-height:835px;padding:6px 0 0 38px}
 .auth-story__heading{padding:0;z-index:2}
 .auth-story h1{font-size:clamp(34px,3.2vw,50px);line-height:1.08;letter-spacing:-1.2px}
 .auth-story__copy{font-size:17px;max-width:none;margin-top:14px}
 .auth-story__eyebrow{margin-bottom:15px}
 .auth-scene{position:absolute;inset:-12px -16px 0 -74px;margin:0;border-radius:0;min-height:0;overflow:hidden;background:transparent!important;z-index:-1}
 .auth-scene__photo{top:125px;height:calc(100% - 125px);object-fit:cover;object-position:35% center;mask-image:linear-gradient(transparent,#000 16%,#000 91%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 16%,#000 91%,transparent)}
 .auth-scene__cards{position:absolute;right:26px;top:225px;width:28%;min-width:245px;gap:18px;padding:0}
 .auth-preview--detail{margin-left:36px;margin-right:-25px}
 .auth-story__footer{position:static;grid-column:1 / -1;border-top:1px solid var(--auth-border);padding:18px 0;margin:0}
 .auth-story__footer i{display:none}
 html body.auth-page :is(.candidate-login-copyright,.candidate-signup-copyright){margin-top:0}
}
@media(min-width:961px) and (max-width:1250px){
 html body.auth-page :is(.candidate-login-shell,.shell){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}
 .auth-story{padding-left:0}.auth-story__copy{font-size:14px}.auth-scene{left:-36px}
 .auth-scene__cards{right:12px;min-width:195px;width:36%;top:255px}.auth-preview{padding:12px}.auth-preview--detail{margin-left:0;margin-right:0}
 .auth-preview h2{font-size:13px}.auth-preview--detail p{font-size:12px}.auth-story__footer{right:0;left:0}
 html body.auth-page :is(.form-card,.candidate-form-panel){padding:26px 22px}
 html body.auth-page .step-indicator{gap:8px}.auth-preview i{width:32px;height:32px;flex-basis:32px}
}
@media(max-width:600px){
 html body.auth-page :is(.form-card,.candidate-form-panel){padding:24px 20px}
 html body.auth-page .step-indicator{gap:10px}html body.auth-page .step-pill{gap:7px}html body.auth-page .step-pill span{white-space:normal;font-size:11px}
 .auth-preview li::after{display:none}.auth-preview li{font-size:11px;border:0}.auth-preview--detail{padding:14px}.auth-preview--detail p{font-size:12px}
}
html body.auth-page .step-pill.is-active{background:none;border:0;box-shadow:none}
html body.auth-page .step-pill.is-active::before{display:none}
html body.auth-page .form-card .field{margin-bottom:16px}
html body.auth-page #signupStepNext:disabled{opacity:1;background:#1765f5;color:#fff}
@media(min-width:1251px){
 .auth-scene__cards{width:26%;right:48px;top:235px}
 .auth-preview--detail{margin-left:36px;margin-right:-25px}
 .auth-preview--detail p{max-width:150px}
 .auth-scene__photo{object-position:0 center}
}
/* Preserve the approved office signs and branded desk cup in the full scene. */
@media(min-width:961px){
 .auth-scene__photo{inset:0;width:100%;height:100%;object-fit:cover;object-position:center;mask-image:linear-gradient(#000 96%,transparent);-webkit-mask-image:linear-gradient(#000 96%,transparent)}
 .auth-scene__cards{top:235px}
}
@media(max-width:600px){
 .auth-scene{padding-top:0}
 .auth-scene__photo{position:relative;inset:auto;width:100%;height:auto;object-fit:contain;mask-image:none;-webkit-mask-image:none}
 .auth-scene__cards{background:#06172c}
 html[data-theme=light] .auth-scene__cards{background:#e7f0fe}
}

/* Both desktop columns share one grid row; footer occupies its own full-width row. */
@media(min-width:961px){
 html body.auth-page .form-wrap{display:flex;align-self:stretch}
 html body.auth-page .form-card{flex:1;justify-content:flex-start}
 html body.auth-page .candidate-form-panel{align-self:stretch;justify-content:flex-start}
 html body.auth-page .auth-signin-link{margin-top:auto;padding-top:8px}
}

/* Reveal the actual page background along every photo edge in either theme.
   Mask only the photo, leaving headings and preview cards unaffected. */
html body.auth-page .auth-scene{background:transparent;border-radius:0}
html body.auth-page .auth-scene::after{display:none}
html body.auth-page .auth-scene__photo{
 -webkit-mask-image:linear-gradient(to right,transparent,#000 5%,#000 78%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 92%,transparent);
 -webkit-mask-composite:source-in;
 mask-image:linear-gradient(to right,transparent,#000 5%,#000 78%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 92%,transparent);
 mask-composite:intersect;
}
@media(max-width:960px){
 html body.auth-page .auth-scene__photo{
  -webkit-mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 94%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 94%,transparent);
 }
 html body.auth-page .auth-scene__cards{background:transparent}
}
