/* JobsHub.CV · owner-approved visual proof · Login & Home only.
   Based on the frozen visual specification. No data/auth/route semantics modified.
   This is a scoped replacement for the old navy dashboard hero and overlay-login presentation. */
:root{--jh-proof-royal:#0D397D;--jh-proof-navy:#0F1E36;--jh-proof-gold:#EAB957;--jh-proof-line:#DFE7F1}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-onboarding{
 display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(320px,.9fr)!important;
 gap:0!important;align-items:stretch!important;min-height:0!important;
 max-width:1150px;margin:28px auto 34px!important;background:white;
 border:1px solid #CBD7E8;border-radius:15px;box-shadow:0 14px 34px #0f1e3612;
 overflow:hidden;direction:ltr;
}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-onboarding::before{content:none!important;display:none!important}
body.jobshub-pilot #welcome{display:none!important}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-approved-login-poster{
 display:flex;align-items:stretch;justify-content:center;margin:0;overflow:hidden;min-width:0;background:#E7F3FF;
}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-approved-login-poster img{
 display:block;width:100%;height:100%;object-fit:contain;object-position:center;
}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-signin-column{
 display:flex;align-items:center;justify-content:center;padding:clamp(24px,4vw,52px);
 min-width:0;direction:inherit;background:#fff;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel{
 width:100%;max-width:430px;margin:0!important;padding:0!important;background:#fff!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel h2{
 color:var(--jh-proof-navy);font-size:clamp(27px,2.6vw,38px);
 margin:0 0 24px;font-weight:800;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel .jh-form-kicker,
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel .jh-form-intro[hidden]{display:none!important}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel .field{margin:0 0 17px}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel .field>label{
 display:block;color:#10294C;font-size:14px;font-weight:750;margin:0 0 6px;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel input:is([type=email],[type=password],[type=text]){
 height:47px;min-height:47px;width:100%;border:1px solid #AABAD1;
 border-radius:8px;background:#fff;color:#0F1E36;font-size:16px;padding-inline:14px;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel input:focus-visible{
 outline:3px solid #EAB957;outline-offset:1px;
}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-password-field{position:relative}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-password-field input{padding-inline-end:52px!important}
body.jobshub-pilot:not([data-approved-member="true"]) #jh-password-toggle{
 position:absolute;inset-inline-end:6px;top:50%;transform:translateY(-50%);
 width:40px;height:38px;padding:7px;display:grid;place-items:center;border:0;
 border-radius:7px;background:transparent;color:#0D397D;cursor:pointer;
}
body.jobshub-pilot:not([data-approved-member="true"]) #jh-password-toggle svg{
 display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel .jh-account-entry{margin:0 0 12px}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel .jh-account-entry:has(> [hidden]:nth-child(1)):has(> [hidden]:nth-child(2)):has(> [hidden]:nth-child(3)){display:none}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel #public-auth-submit{
 width:100%;min-height:48px;display:block;background:#0B45A5!important;
 color:#fff!important;border:0;border-radius:8px;font-size:17px;font-weight:800;
 box-shadow:0 4px 11px #0D397D22;margin:12px 0;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel #social-signin-actions:not([hidden]){
 display:flex;flex-direction:column;gap:8px;margin:12px 0;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel #social-signin-actions button{
 width:100%;justify-content:center;min-height:44px;background:#fff;
 color:#0F1E36;border:1px solid #BAC9DC;border-radius:8px;
}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel #social-signin-actions button[hidden]{display:none!important}
body.jobshub-pilot:not([data-approved-member="true"]) #login-panel #remember{margin:0}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-product-header{max-width:1150px;margin-inline:auto!important}

/* Launch presentation only: improve contrast of the preserved blue wordmark on navy. */
body.jobshub-pilot:not([data-approved-member="true"]) .jh-product-header>a[aria-label="JobsHub.CV"]{
 display:inline-flex;align-items:center;justify-content:center;
 padding:3px 9px;border-radius:12px;
 background:linear-gradient(135deg,#ffffff 0%,#eaf3ff 100%);
 border:1px solid rgba(255,255,255,.8);
 box-shadow:0 3px 12px rgba(1,15,35,.16);
 flex:0 1 auto;
}
body.jobshub-pilot:not([data-approved-member="true"]) .jh-product-header>a[aria-label="JobsHub.CV"] img{
 display:block;max-width:100%;height:auto;
}
/* Four-language Coming Soon rotates independently of the selected application locale, signed in or out
   (the rotation was scoped to signed-out pages only, so signed-in headers showed all four at once).
   Only the badge/rotation rules apply to both states; the signed-in header keeps its own approved box and positioning.
   This is the only new motion: previously approved login door/poster are untouched. */
body.jobshub-pilot:not([data-approved-member="true"]) .jh-product-header{
 position:relative;isolation:isolate;
}
body.jobshub-pilot .jh-product-header .jh-coming-soon{
 position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
 width:226px;height:38px;box-sizing:border-box;pointer-events:none;
 border:1px solid rgba(234,185,87,.64);
 border-radius:999px;background:rgba(13,57,125,.42);
 box-shadow:0 0 16px rgba(234,185,87,.1),inset 0 0 8px rgba(234,185,87,.08);
 color:#ffe0a0;text-align:center;z-index:1;overflow:hidden;
 font:800 14px/36px "IBM Plex Sans Arabic",sans-serif;
}
body.jobshub-pilot .jh-coming-soon > span{
 position:absolute;inset:0;display:block;white-space:nowrap;
 opacity:0;transform:translateY(7px);
 animation:jh-coming-soon-rotate 16s ease-in-out infinite;
}
body.jobshub-pilot .jh-coming-soon > span:nth-child(1){animation-delay:0s}
body.jobshub-pilot .jh-coming-soon > span:nth-child(2){animation-delay:4s}
body.jobshub-pilot .jh-coming-soon > span:nth-child(3){animation-delay:8s}
body.jobshub-pilot .jh-coming-soon > span:nth-child(4){animation-delay:12s}
@keyframes jh-coming-soon-rotate{
 0%,2%{opacity:0;transform:translateY(7px)}
 5%,21%{opacity:1;transform:translateY(0)}
 24%,100%{opacity:0;transform:translateY(-7px)}
}
body.jobshub-pilot.jh-motion-paused .jh-coming-soon > span,
body.jobshub-pilot.jh-motion-hidden .jh-coming-soon > span{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
 body.jobshub-pilot .jh-coming-soon > span{
  animation:none!important;opacity:0!important;transform:none!important;
 }
 html[lang="en"] .jh-coming-soon > span[lang="en"],
 html[lang="ar"] .jh-coming-soon > span[lang="ar"],
 html[lang="fr"] .jh-coming-soon > span[lang="fr"],
 html[lang="es"] .jh-coming-soon > span[lang="es"]{opacity:1!important}
}
@media(max-width:860px){
 /* `html` lifts specificity above candidate-board.css's later `padding:0 …!important`, which had removed this
    reserved row and left the signed-out phone badge overlapping the logo box (measured 2026-11-25, 360-430px). */
 html body.jobshub-pilot:not([data-approved-member="true"]) .jh-product-header{padding-bottom:44px!important}
 body.jobshub-pilot .jh-product-header .jh-coming-soon{
  top:auto;bottom:4px;left:50%;width:min(226px,80vw);height:34px;
  font-size:12px;line-height:32px;transform:translateX(-50%);
 }
}
/* Signed-in phones: the header has no room under the logo (approved fixed-height header), so the badge sits in the
   free slot between the visible logo and the language button instead of over the logo. */
@media(max-width:600px){
 body.jobshub-pilot[data-approved-member="true"] .jh-product-header .jh-coming-soon{
  left:auto;right:76px;top:50%;bottom:auto;transform:translateY(-50%);
  width:clamp(96px,calc(100% - 222px),200px);font-size:11px;
 }
 html[dir=rtl] body.jobshub-pilot[data-approved-member="true"] .jh-product-header .jh-coming-soon{right:auto;left:76px}
}
@media(max-width:520px){
 body.jobshub-pilot:not([data-approved-member="true"]) .jh-product-header>a[aria-label="JobsHub.CV"]{
  padding:2px 6px;border-radius:9px;max-width:48vw;
 }
}

body.jobshub-pilot:not([data-approved-member="true"]) .jh-primary-nav{display:none!important}
html[dir=rtl] body.jobshub-pilot:not([data-approved-member="true"]) .jh-onboarding{direction:rtl}
html[dir=rtl] body.jobshub-pilot:not([data-approved-member="true"]) #login-panel{text-align:right}
html[dir=rtl] body.jobshub-pilot:not([data-approved-member="true"]) #login-panel .field>label{text-align:right}
@media(max-width:800px){
 body.jobshub-pilot:not([data-approved-member="true"]) .jh-onboarding{
  display:flex!important;flex-direction:column-reverse;max-width:520px;margin:12px auto!important;
 }
 body.jobshub-pilot:not([data-approved-member="true"]) .jh-signin-column{padding:23px 20px 16px}
 body.jobshub-pilot:not([data-approved-member="true"]) .jh-approved-login-poster{max-height:275px}
 body.jobshub-pilot:not([data-approved-member="true"]) .jh-approved-login-poster img{
  height:auto;max-height:275px;aspect-ratio:3/2;object-fit:contain;
 }
 body.jobshub-pilot:not([data-approved-member="true"]) #login-panel h2{font-size:26px;margin-bottom:19px}
}
/* Frozen Home reference: light illustrated carousel, no decorative navy hero. */
body[data-approved-member="true"] #candidate-dashboard .jh-approved-home-title{
 color:#0F1E36;font-size:clamp(23px,2.2vw,33px);line-height:1.3;
 margin:0 0 13px;font-weight:800;letter-spacing:-.018em;text-align:start;
}
body[data-approved-member="true"] #candidate-dashboard .pv2-dashboard{
 gap:16px;background:transparent;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel{
 position:relative;display:block;padding:18px 46px 40px!important;
 background:#fff!important;border:1px solid #DCE5F0;border-radius:18px;
 box-shadow:0 8px 20px #0f1e360e;color:#0F1E36!important;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel-slide{
 grid-template-columns:minmax(0,1fr) minmax(180px,40%)!important;
 gap:18px;min-height:190px;align-items:center;
}
body[data-approved-member="true"] #candidate-dashboard .jh-slide-copy{
 display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
 gap:12px;min-width:0;padding:6px 4px;
}
html[dir=rtl] body[data-approved-member="true"] #candidate-dashboard .jh-slide-copy{align-items:flex-start;text-align:right}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-title{
 font-size:clamp(23px,2.4vw,35px)!important;line-height:1.25!important;
 font-weight:800;color:#0F1E36!important;letter-spacing:-.025em!important;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-lead{
 font-size:13px!important;color:#52637B!important;line-height:1.5!important;
 max-width:48ch;margin:0;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-kicker{display:none!important}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-status-pill{display:none!important}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-actions{
 display:flex;gap:10px;margin:4px 0 0;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-actions a{
 display:inline-flex;justify-content:center;align-items:center;
 min-height:43px;padding:9px 18px;border:0!important;background:#0B45A5!important;
 color:#fff!important;border-radius:9px;font-size:14px;font-weight:800;
 text-decoration:none;box-shadow:0 4px 10px #0D397D16;max-width:100%;
}
body[data-approved-member="true"] #candidate-dashboard .jh-slide-art{
 height:185px;min-height:185px;max-height:185px;
 background:transparent;
}
body[data-approved-member="true"] #candidate-dashboard .jh-slide-art :is(img.jh-scene,svg.jh-scene){
 width:100%;height:185px;max-height:185px;object-fit:contain;
 background:transparent;border-radius:14px;
}
body[data-approved-member="true"] #candidate-dashboard .jh-slide-visual>.jh-hero-metric{
 display:none!important;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel-controls{
 position:absolute;left:0;right:0;bottom:9px;display:flex;
 justify-content:center;align-items:center;pointer-events:none;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-tabs{
 display:flex!important;justify-content:center;gap:7px;pointer-events:auto;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-dot{
 background:#C4CFDE!important;min-height:9px!important;min-width:9px!important;
 width:9px!important;height:9px!important;border-radius:100%!important;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-dot[aria-selected="true"]{
 background:#0B45A5!important;width:11px!important;max-width:11px!important;
 flex-basis:11px!important;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-nav{
 position:absolute;top:-102px;pointer-events:auto;background:#EEF4FC!important;
 color:#0D397D!important;border:0!important;box-shadow:none!important;
 width:34px!important;height:34px!important;
}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-nav:first-child{left:8px}
body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-nav:last-child{right:8px}
body[data-approved-member="true"] #candidate-dashboard .pv2-kpis{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px;
}
body[data-approved-member="true"] #candidate-dashboard .pv2-kpi{
 width:100%;min-height:136px;height:auto;display:grid!important;
 grid-template-columns:1fr!important;grid-template-rows:auto auto auto;
 grid-template-areas:"icon" "count" "label"!important;gap:7px!important;
 justify-items:center!important;text-align:center!important;align-content:center;
 padding:16px!important;background:#fff;border:1px solid #DEE6F0;
 border-radius:16px;box-shadow:0 5px 14px #0F1E3610;
}
body[data-approved-member="true"] #candidate-dashboard .pv2-kpi-icon{
 display:grid;place-items:center;width:42px;height:42px;border:0;background:#F7FAFF!important;
 color:#0D397D!important;
}
body[data-approved-member="true"] #candidate-dashboard .pv2-kpi-icon svg{
 width:26px;height:26px;stroke:#0D397D;
}
body[data-approved-member="true"] #candidate-dashboard .pv2-kpi strong{
 font-size:28px;line-height:1.15;color:#0D397D;grid-area:count!important;
}
body[data-approved-member="true"] #candidate-dashboard .pv2-kpi>span:last-child{
 font-size:13px;line-height:1.3;min-height:0;color:#152B4C;font-weight:700;grid-area:label;
}
body[data-approved-member="true"] #candidate-dashboard .pv2-columns{margin-top:4px}
@media(max-width:1099px){
 body[data-approved-member="true"] #candidate-dashboard .pv2-kpis{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:600px){
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel{
  padding:13px 22px 36px!important;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel-slide{
  display:flex!important;flex-direction:column;
  gap:2px;min-height:0;align-items:stretch;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-slide-copy{
  text-align:center!important;align-items:center!important;padding:8px 0;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-title{
  font-size:clamp(20px,6vw,25px)!important;line-height:1.25!important;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-lead{display:none}
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-actions{
  justify-content:center;width:100%;order:1;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel .pv2-hero-actions a{
  min-height:41px;width:100%;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-slide-art{
  height:132px;min-height:132px;max-height:132px;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-slide-art :is(img.jh-scene,svg.jh-scene){
  height:132px;max-height:132px;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel-controls{bottom:7px}
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-nav{
  top:-77px;width:30px!important;height:30px!important;
 }
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-nav:first-child{left:2px}
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel .jh-carousel-nav:last-child{right:2px}
 body[data-approved-member="true"] #candidate-dashboard .pv2-kpi{
  min-height:124px;padding:11px!important;
 }
 body[data-approved-member="true"] #candidate-dashboard .pv2-kpi strong{font-size:23px}
 body[data-approved-member="true"] #candidate-dashboard .pv2-kpi>span:last-child{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 body[data-approved-member="true"] #candidate-dashboard .jh-carousel-track{transition:none!important}
}

/* Explicitly respect disabled authentication modes despite legacy button display rules. */
body.jobshub-pilot #login-panel [data-public-auth][hidden],
body.jobshub-pilot #login-panel [data-social-provider][hidden]{display:none!important}
