:root{--auth-ink:var(--rt-ink);--auth-muted:var(--rt-muted);--auth-line:var(--rt-muted);--auth-coral:var(--rt-accent);--auth-action:var(--rt-blue);--auth-dark:#151A24;--auth-blue:var(--rt-blue-text);--auth-error:var(--rt-error);--auth-error-line:var(--rt-error)}
*{box-sizing:border-box}.auth-body{margin:0;color:var(--auth-ink);background:var(--rt-surface);font:400 16px/24px Inter,'Inter Fallback',system-ui,sans-serif;-webkit-font-smoothing:antialiased;font-synthesis:none;overflow-wrap:anywhere}:where(.auth-body) :is(button,input){font:inherit}.auth-body a{color:var(--auth-blue);text-decoration:none}@media(hover:hover) and (pointer:fine){.auth-body a:hover{text-decoration:underline}}.auth-body button{cursor:pointer}.auth-body button:disabled{cursor:default;opacity:.55}.auth-body svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.auth-skip{position:fixed;left:16px;top:8px;z-index:20;padding:var(--rt-space-2);background:var(--rt-surface);border:2px solid var(--auth-blue);transform:translateY(-180%)}.auth-skip:focus{transform:translateY(0)}
.auth-header{height:64px;padding:0 64px;border-bottom:1px solid var(--rt-line);display:flex;align-items:center;justify-content:space-between;gap:var(--rt-space-4);flex-shrink:0}.auth-header>a:last-child:not(.auth-brand){color:var(--auth-ink);font-size:var(--rt-text-s);font-weight:500;line-height:20px}.auth-header-start{display:flex;align-items:center;gap:var(--rt-space-3)}
.auth-brand{display:inline-flex;align-items:baseline;gap:3px;font-family:'Plus Jakarta Sans','Plus Jakarta Sans Fallback',Inter,'Inter Fallback',sans-serif;font-size:var(--rt-text-2xl);font-weight:800;line-height:32px;letter-spacing:-.04em;color:var(--auth-blue)!important;white-space:nowrap}.auth-brand span{width:8px;height:8px;flex:none;background:var(--auth-coral)}@media(hover:hover) and (pointer:fine){.auth-brand:hover{text-decoration:none!important}}
.auth-admin-badge{display:inline-flex;align-items:center;height:24px;padding:0 var(--rt-space-2);border-radius:6px;background:var(--auth-dark);color:var(--rt-on-action);font-size:var(--rt-text-xs);line-height:16px;font-weight:600;letter-spacing:.04em}
.auth-shell{display:grid;grid-template-columns:minmax(0,1fr) 43.055556%;min-height:calc(100dvh - 64px)}.auth-kind-recovery,.auth-kind-signup,.auth-kind-admin{grid-template-columns:minmax(0,1fr) 52.777778%}
.auth-panel{min-width:0;display:flex;flex-direction:column;padding:var(--rt-space-8) var(--rt-space-8) var(--rt-space-8) clamp(64px,9.722222vw,140px)}.auth-kind-signin .auth-panel{padding-right:96px}
.auth-content{display:flex;flex-direction:column;gap:var(--rt-space-7);width:440px;max-width:100%;margin-block:auto;animation:auth-enter 200ms ease-out both}.auth-content--wide{width:520px}
.auth-intro{display:flex;flex-direction:column;gap:var(--rt-space-3)}.auth-intro h1{font:700 40px/44px 'Plus Jakarta Sans','Plus Jakarta Sans Fallback',Inter,'Inter Fallback',sans-serif;letter-spacing:-.02em;margin:0}.auth-intro p{font-size:var(--rt-text-l);line-height:26px;color:var(--auth-muted);margin:0}
.auth-form{display:flex;flex-direction:column;gap:var(--rt-space-7);margin:0}.auth-fields,.auth-actions{display:flex;flex-direction:column;gap:var(--rt-space-5);min-width:0}.auth-actions--row{flex-direction:row;flex-wrap:wrap;align-items:center;gap:var(--rt-space-4) var(--rt-space-6)}
.auth-field{display:flex;flex-direction:column;gap:var(--rt-space-2);min-width:0}.auth-field label{font-size:var(--rt-text-s);font-weight:500;line-height:20px}
.auth-field input{min-width:0;width:100%;height:48px;border:1px solid var(--auth-line);border-radius:10px;padding:0 var(--rt-space-4);color:var(--auth-ink);background:var(--rt-surface);font-size:var(--rt-text-m);line-height:20px}.auth-field input::placeholder{color:var(--rt-muted)}.auth-field input[type=password]{letter-spacing:.12em}.auth-field input[type=password]::placeholder{letter-spacing:0}
.auth-field input:focus{outline:none;border-color:var(--auth-blue);box-shadow:inset 0 0 0 1px var(--auth-blue)}.auth-field input:disabled{background:var(--rt-surface);color:var(--auth-ink)}.auth-field:has(input:disabled){opacity:.55}
.auth-password{position:relative}.auth-password input{padding-right:84px}.auth-reveal{position:absolute;right:6px;top:6px;height:36px;display:flex;align-items:center;justify-content:center;padding:0 var(--rt-space-3);border:0;border-radius:8px;background:transparent;color:var(--auth-blue);font-size:var(--rt-text-s);font-weight:600;line-height:20px}.auth-body .auth-reveal:disabled{opacity:1}
.auth-primary{display:flex;align-items:center;justify-content:center;gap:var(--rt-space-2);min-height:48px;padding:var(--rt-space-3) var(--rt-space-6);border:0;border-radius:999px;background:var(--auth-action);color:var(--rt-on-action)!important;text-align:center;font-size:var(--rt-text-m);font-weight:600;line-height:20px}@media(hover:hover) and (pointer:fine){.auth-primary:hover{text-decoration:none!important}}.auth-primary svg{display:none}.auth-primary--inline{padding:var(--rt-space-3) 28px}.auth-kind-admin .auth-primary{background:var(--auth-dark)}
.auth-form[aria-busy=true] .auth-primary{opacity:1}.auth-primary[aria-busy=true]::before{content:'';width:18px;height:18px;flex:none;box-sizing:border-box;border:2px solid rgba(255,255,255,.35);border-top-color:var(--rt-on-action);border-radius:50%;animation:auth-spin .8s linear infinite}
.auth-after{display:flex;flex-direction:column;gap:var(--rt-space-5);margin-top:-12px}.auth-content:has(.auth-form[aria-busy=true]) .auth-after{opacity:.55;pointer-events:none}
.auth-forgot{font-size:var(--rt-text-s);font-weight:500;line-height:20px;align-self:flex-start}.auth-jobseeker{border-top:1px solid var(--rt-line);padding-top:var(--rt-space-5);margin:0;font-size:var(--rt-text-s);line-height:22px;color:var(--auth-muted)}.auth-jobseeker a{font-weight:500}
.auth-text-link{font-size:var(--rt-text-s);font-weight:500;line-height:20px;align-self:flex-start}.auth-link-row{display:flex;flex-wrap:wrap;gap:var(--rt-space-2) var(--rt-space-6);margin:0;font-size:var(--rt-text-s);line-height:20px;color:var(--auth-muted)}.auth-link-row>a{font-weight:500}.auth-link-row span a{color:inherit}
.auth-outcome-email{font-size:var(--rt-text-s);line-height:20px;color:var(--auth-muted);margin:0}.auth-outcome-email a{color:inherit}
#live-reset-password[data-verified=true]~.auth-reset-help{display:none}
.auth-visual{border-radius:24px 0 0 24px;background:var(--auth-dark);color:var(--rt-on-action);min-width:0;display:flex;align-items:center;justify-content:flex-start;padding:64px 72px;overflow:clip}.auth-visual>div{font-family:'Plus Jakarta Sans','Plus Jakarta Sans Fallback',Inter,'Inter Fallback',sans-serif;font-size:var(--rt-text-3xl);line-height:62px;letter-spacing:-.03em;font-weight:800}.auth-visual span{color:var(--auth-coral)}
.auth-footer{font-size:var(--rt-text-xs);line-height:20px;color:var(--auth-muted);margin-top:var(--rt-space-6)}
.auth-status{margin:0;font-size:var(--rt-text-s);font-weight:500;line-height:22px;color:var(--auth-error)}.auth-status:empty{display:none}.auth-status[data-kind=success]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.auth-status[data-kind=loading]{color:var(--auth-muted);font-weight:400}.auth-status:focus,.auth-status:focus-visible,.auth-intro h1:focus{outline:none}
.auth-field input[aria-invalid=true]{border-color:var(--auth-error-line);box-shadow:inset 0 0 0 .5px var(--auth-error-line)}.auth-field input[aria-invalid=true]:focus{border-color:var(--auth-error-line);box-shadow:inset 0 0 0 1px var(--auth-error-line)}
.auth-connection-state{display:flex}.auth-connection-state[hidden]{display:none}.auth-progress{position:relative;display:block;width:100%;height:4px;border-radius:999px;background:var(--rt-surface-2);overflow:hidden}.auth-progress span{position:absolute;inset:0 auto 0 0;width:62%;border-radius:999px;background:var(--auth-blue);animation:auth-progress 1.6s cubic-bezier(.4,0,.2,1) infinite}
.auth-noscript{padding:var(--rt-space-6);max-width:560px}.auth-body :is(a,button):focus-visible{outline:2px solid var(--auth-blue);outline-offset:3px}
@keyframes auth-enter{from{opacity:.5}to{opacity:1}}@keyframes auth-spin{to{transform:rotate(360deg)}}@keyframes auth-progress{from{transform:translateX(-100%)}to{transform:translateX(165%)}}
@media(max-width:1100px){.auth-header{padding-inline:var(--rt-space-7)}.auth-panel,.auth-kind-signin .auth-panel{padding-left:64px;padding-right:var(--rt-space-7)}.auth-visual{padding:var(--rt-space-7) var(--rt-space-8)}.auth-visual>div{font-size:var(--rt-text-3xl);line-height:56px}.auth-shell,.auth-kind-signup,.auth-kind-recovery,.auth-kind-admin{grid-template-columns:minmax(0,1fr) 40%}}
@media(max-width:760px){.auth-header{height:56px;padding-inline:var(--rt-space-4)}.auth-brand{font-size:var(--rt-text-2xl);line-height:30px}.auth-brand span{width:7px;height:7px}.auth-shell,.auth-kind-signup,.auth-kind-recovery,.auth-kind-admin{display:flex;flex-direction:column;min-height:calc(100dvh - 56px)}.auth-visual{order:-1;height:180px;flex:none;border-radius:20px 0 0 20px;margin:var(--rt-space-4) 0 0 var(--rt-space-4);padding:0 var(--rt-space-6);align-items:center}.auth-visual>div{font-size:var(--rt-text-3xl);line-height:40px}.auth-panel,.auth-kind-signin .auth-panel{padding:28px var(--rt-space-4) var(--rt-space-7)}.auth-content,.auth-content--wide{width:100%;max-width:440px;margin:0 auto;gap:var(--rt-space-6)}.auth-intro{gap:var(--rt-space-2)}.auth-intro h1{font-size:var(--rt-text-3xl);line-height:36px}.auth-intro p{font-size:var(--rt-text-m);line-height:24px}.auth-form{gap:var(--rt-space-6)}.auth-fields,.auth-actions,.auth-after{gap:var(--rt-space-4)}.auth-after{margin-top:-8px}.auth-form .auth-primary{min-height:52px}.auth-forgot{align-self:center;text-align:center}.auth-jobseeker{padding-top:var(--rt-space-4);text-align:center;color:var(--auth-blue)}.auth-jobseeker a{font-weight:400}.auth-footer{max-width:440px;width:100%;margin:var(--rt-space-6) auto 0}}
@media(prefers-reduced-motion:reduce){.auth-content{animation:auth-enter 150ms linear}.auth-primary[aria-busy=true]::before{animation:none;border-color:var(--rt-on-action)}.auth-progress span{animation:none;transform:none}}
.auth-body [hidden]{display:none!important}.auth-connection-state:not([hidden])~.auth-status[data-kind=loading]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.auth-body .auth-primary--blue{background:var(--auth-blue)}.auth-link-button{padding:0;border:0;background:none;color:var(--auth-blue);font:inherit;font-weight:500;cursor:pointer;text-align:left}@media(hover:hover) and (pointer:fine){.auth-link-button:hover{text-decoration:underline}}
.auth-body .auth-primary{transition:background-color .15s,transform .1s}@media(hover:hover) and (pointer:fine){.auth-body .auth-primary:hover{background:var(--rt-red)}}.auth-body .auth-primary:active{transform:translateY(1px)}@media(hover:hover) and (pointer:fine){.auth-kind-admin .auth-primary:hover{background:var(--rt-canvas)}}@media(hover:hover) and (pointer:fine){.auth-body .auth-primary--blue:hover{background:var(--rt-blue)}}@media(hover:hover) and (pointer:fine){.auth-body .auth-primary:disabled:hover{background:var(--auth-action)}}

/* Sam 28 Oct: employer entry carries the app's red role identity. */
.auth-kind-signin .auth-visual,.auth-kind-signup .auth-visual{background:var(--rt-red)}
.auth-kind-signin .auth-visual span,.auth-kind-signup .auth-visual span{color:var(--rt-on-action)}
.auth-brand span{width:6px;height:6px}

/* Employer actions retain the owner-approved coral; text links use the stronger red role. */
.auth-kind-signin,.auth-kind-signup,.auth-kind-recovery{--auth-action:var(--rt-red)}@media(hover:hover) and (pointer:fine){
.auth-body :is(.auth-kind-signin,.auth-kind-signup,.auth-kind-recovery) .auth-primary:not(.auth-primary--blue):hover{background:var(--rt-red)}}
.auth-body :is(.auth-kind-signin,.auth-kind-signup,.auth-kind-recovery) .auth-primary:not(.auth-primary--blue):active{background:var(--rt-red)}
.auth-body :is(.auth-kind-signin,.auth-kind-signup,.auth-kind-recovery) .auth-primary:not(.auth-primary--blue):disabled{background:var(--rt-muted);opacity:1}
.auth-body :is(.auth-kind-signin,.auth-kind-signup,.auth-kind-recovery) .auth-primary:not(.auth-primary--blue):focus-visible{outline:3px solid var(--rt-blue-text);outline-offset:3px}

/* Google sign-in uses the same layout and brand as the existing account surface. */
.auth-provider{display:flex;flex-direction:column;gap:var(--rt-space-5)}.auth-google{display:flex;align-items:center;justify-content:center;gap:var(--rt-space-3);width:100%;min-height:48px;margin:0;border:1px solid var(--rt-line);border-radius:12px;background:var(--auth-surface,var(--rt-surface));color:inherit;font:600 15px/22px Inter,'Inter Fallback',sans-serif;cursor:pointer}.auth-google svg{stroke:none;flex:none;width:20px;height:20px}.auth-google:focus-visible{outline:3px solid var(--rt-blue-text);outline-offset:3px}.auth-google:disabled{cursor:wait;opacity:.65}.auth-or{display:flex;align-items:center;gap:var(--rt-space-3);margin:0;color:var(--rt-muted);font-size:var(--rt-text-xs)}.auth-or>span{height:1px;background:var(--rt-line);flex:1}
/* 2026-11-06 sign-up + polish */
.auth-hint{margin:-8px 0 0;font-size:var(--rt-text-xs);line-height:18px;color:var(--auth-muted)}
.auth-legal{margin:0;font-size:var(--rt-text-xs);line-height:19px;color:var(--auth-muted)}
.auth-kind-signup .auth-jobseeker+.auth-jobseeker{border-top:0;padding-top:0;margin-top:-8px}
.auth-content>*{animation:auth-rise .42s cubic-bezier(.2,.7,.2,1) both}.auth-content>*:nth-child(2){animation-delay:.05s}.auth-content>*:nth-child(3){animation-delay:.1s}.auth-content>*:nth-child(4){animation-delay:.15s}
@keyframes auth-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.auth-status[data-kind=loading]{color:var(--auth-muted)}
@media(prefers-reduced-motion:reduce){.auth-content>*{animation:none}}
.auth-provider{display:flex;flex-direction:column;gap:var(--rt-space-3)}.auth-apple{background:#111827;border-color:#111827;color:#fff}@media(hover:hover) and (pointer:fine){.auth-apple:hover{background:#253043}}.auth-provider .auth-or{margin-top:var(--rt-space-1)}

.auth-body .auth-primary{background:var(--auth-action);color:var(--rt-on-action);font-family:var(--rt-font-body);font-size:var(--rt-text-m);line-height:1.5;transition:transform 120ms ease-out}
.auth-body .auth-primary:active{transform:scale(.97)}
.auth-body .auth-reveal{min-height:var(--rt-touch);top:2px}

.auth-body .auth-primary--blue{background:var(--rt-blue)}

.auth-header>.rt-appearance-toggle{margin-left:auto;flex:none}

html[data-theme=dark] .auth-apple{background:#fff;border-color:#fff;color:#111827}
@media(hover:hover) and (pointer:fine){html[data-theme=dark] .auth-apple:hover{background:#e5e7eb}}

/* Both account roles use the full-height, edge-to-edge hiring reference. */
.auth-shell:is(.auth-kind-signin,.auth-kind-signup){width:100%;max-width:none;margin:0;padding:0;grid-template-columns:minmax(0,1fr) 52.777778%;gap:0;min-height:calc(100dvh - 64px);align-items:stretch}
:is(.auth-kind-signin,.auth-kind-signup) .auth-panel{padding:64px 40px 64px clamp(64px,9.722222vw,140px)}
:is(.auth-kind-signin,.auth-kind-signup) .auth-content{width:100%;max-width:520px;margin-block:auto}
:is(.auth-kind-signin,.auth-kind-signup) .auth-visual{min-height:100%;height:auto;margin:0;border-radius:24px 0 0 24px;padding:64px 72px;align-self:stretch;order:0}
@media(max-width:1100px){
 .auth-shell:is(.auth-kind-signin,.auth-kind-signup){grid-template-columns:minmax(0,1fr) 40%}
 :is(.auth-kind-signin,.auth-kind-signup) .auth-panel{padding-inline:64px 32px}
 :is(.auth-kind-signin,.auth-kind-signup) .auth-visual{padding:40px}
}
@media(max-width:800px){
 .auth-shell:is(.auth-kind-signin,.auth-kind-signup){display:block;min-height:calc(100dvh - 64px)}
 :is(.auth-kind-signin,.auth-kind-signup) .auth-panel{padding:32px 20px 48px}
 :is(.auth-kind-signin,.auth-kind-signup) .auth-visual{display:none}
 :is(.auth-kind-signin,.auth-kind-signup) .auth-content{max-width:520px;margin-inline:auto}
}
@media(max-width:760px){.auth-shell:is(.auth-kind-signin,.auth-kind-signup){min-height:calc(100dvh - 56px)}}

/* Keep the requested white labels on logo-orange actions; hover does not alter the brand orange. */
.auth-body :is(.auth-kind-signin,.auth-kind-signup,.auth-kind-recovery) .auth-primary:not(.auth-primary--blue):not(:disabled){color:var(--rt-on-action)!important}
.auth-body :is(.auth-kind-signin,.auth-kind-signup,.auth-kind-recovery) .auth-primary:not(.auth-primary--blue)[aria-busy=true]::before{border-color:color-mix(in srgb,var(--rt-on-action) 35%,transparent);border-top-color:var(--rt-on-action)}

/* Candidate OAuth/email sign-in keeps the job-seeker blue in both appearances. */
.auth-candidate-callback .auth-visual{background:var(--rt-blue);color:#fff}
.auth-candidate-callback .auth-visual span{color:#fff}

/* Sign-in <-> create-account switch (Daniel, 20 Nov): a clear second path right under the primary
   button, at body size, not small print under the forgotten-password link. */
.auth-switch{margin:calc(var(--rt-space-4) - var(--rt-space-6)) 0 0;text-align:center;color:var(--auth-muted);font-size:var(--rt-text-m);line-height:24px}
.auth-switch a{font-weight:600;color:var(--auth-blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.auth-switch a:hover{text-decoration-thickness:2px}
.auth-content:has(.auth-form[aria-busy=true]) .auth-switch{opacity:.55;pointer-events:none}

/* Standalone account and recovery links share the form’s touch target. */
.auth-footer a,.auth-content :is(.auth-forgot,.auth-text-link,.auth-switch>a,.auth-jobseeker>a,.auth-link-row a,.auth-outcome-email>a){
 display:inline-flex;align-items:center;min-height:44px
}

.auth-intro.employer-account-choice .auth-actions{margin-block:var(--rt-space-5)}
.employer-account-choice [data-conversion-confirmation] h2{font-size:var(--rt-text-xl);line-height:1.3;margin-block:var(--rt-space-3)}
.auth-intro.employer-account-choice button.auth-text-link{padding:0;border:0;background:transparent;color:var(--rt-blue-text);cursor:pointer;text-align:left}
.auth-intro.employer-account-choice button.auth-text-link:hover{text-decoration:underline}
