/* Keep legacy raster marks supported; all brand SVGs have a transparent canvas. */
:root{--corporate-logo-width:220px}
:is(.auth-page,.panel,.employee-app,.login-page) img.corporate-logo{height:auto;aspect-ratio:2000/765;object-fit:contain;max-width:100%;filter:brightness(0) saturate(100%) invert(18%) sepia(16%) saturate(1183%) hue-rotate(256deg) brightness(96%) contrast(91%)}
:is(.panel .brand-link,.employee-app .header-top,.auth-page) img.corporate-logo{width:var(--corporate-logo-width);margin-inline:auto;object-position:center}
.auth-page .admin-brand.corporate-logo{align-self:center}
:is(.auth-page,.panel,.employee-app,.login-page) img.corporate-logo[src*="/brand-"]{filter:none;aspect-ratio:4/1;background:transparent;border-radius:0;padding:0}
.auth-page img.auth-hero-logo.corporate-logo[src*="/brand-"]{filter:none;width:188px;max-width:100%;height:auto;align-self:flex-start;margin:0;padding:0;background:transparent;border-radius:0;object-position:left center}
.panel[data-panel-theme=dark] .brand-link img.corporate-logo{filter:brightness(0) invert(1);background:transparent;border-radius:0;padding:0}

/* The same native mark and line icons connect the login hero and panel chooser. */
.employee-auth-page .elart-auth-hero{isolation:isolate;position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:44px 44px 32px;min-width:0;background:linear-gradient(155deg,#713275 0%,#572960 68%,#48244f 100%);color:#fff;overflow:hidden}
.employee-auth-page .elart-auth-hero::after{content:none}
.elart-auth-hero::before{content:"";position:absolute;z-index:-1;width:500px;height:500px;border:1px solid #ffffff12;border-radius:50%;top:14%;left:28%;pointer-events:none}
.elart-auth-hero .auth-brand-decoration{position:absolute;z-index:-1;right:-138px;top:38px;width:440px;height:440px;max-width:none;filter:brightness(0) invert(1);opacity:.065;pointer-events:none}
.employee-auth-page .elart-auth-hero .auth-hero-copy{position:relative;margin:16px 0 0;max-width:360px;z-index:1}
.auth-hero-eyebrow{display:block;color:#e9d5ee;font-size:9px;font-weight:550;line-height:1.6;letter-spacing:1.5px;margin-bottom:20px}
.employee-auth-page .elart-auth-hero .auth-hero-copy h2{font-size:clamp(34px,3.7vw,46px);font-weight:550;letter-spacing:-1.5px;line-height:1.12;margin:0}
.employee-auth-page .elart-auth-hero .auth-hero-copy p{max-width:28ch;font-size:13px;line-height:1.8;margin:20px 0 0;color:#ecdaef}
.auth-workspaces{position:relative;display:grid;gap:12px;list-style:none;margin:12px 0;padding:0;width:100%;max-width:360px}
.auth-workspaces li{display:flex;align-items:center;gap:14px;padding:17px 16px;border:1px solid #ffffff26;border-radius:14px;background:#ffffff08}
.auth-workspace-symbol{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid #ffffff2c;border-radius:12px;background:#ffffff0b}
.auth-workspace-symbol img{width:24px;height:24px;filter:brightness(0) invert(1)}
.auth-workspaces li>span:nth-child(2){min-width:0}
.auth-workspaces strong{display:block;font-weight:550;font-size:13px;line-height:1.5;letter-spacing:-.1px}
.auth-workspaces strong+span{display:block;font-size:10px;line-height:1.6;color:#e3cee9;margin-top:3px}
.auth-workspace-arrow{margin-left:auto;color:#d9bde3;font-size:18px}
.elart-auth-hero .auth-hero-footer{display:flex;align-items:center;gap:8px;text-align:left;font-size:10px;line-height:1.5;color:#e1cce7;margin:0}
.elart-auth-hero .auth-hero-footer>span{width:5px;height:5px;border-radius:50%;background:#cda9d9}

/* Scope form refinements to the common login, keeping its existing form hooks. */
.employee-auth-page.common-login{--auth-primary:#713275;padding:28px 20px;background:radial-gradient(ellipse at 0 0,#e9dcef,transparent 55%),#f5f1f7}
.employee-auth-page.common-login .auth-shell{max-width:1040px;grid-template-columns:minmax(0,1fr) minmax(0,500px);height:auto;min-height:min(720px,calc(100dvh - 56px));border:1px solid #e7dfea;border-radius:24px;box-shadow:0 24px 80px #3d204a12;overflow:hidden}
.employee-auth-page.common-login .auth-pane{padding:36px 44px;overflow:visible;justify-content:center}
.common-login .auth-tagline{font-size:24px;line-height:1.3;margin:0 0 22px;padding:0;color:#713275}
.employee-auth-page.common-login .auth-tabs{gap:24px;margin-bottom:24px}
.employee-auth-page.common-login .auth-tabs a{min-height:44px;font-size:12px;color:#76667e}
.employee-auth-page.common-login .auth-tabs a[aria-current=page]{border-color:#713275;color:#713275}
.employee-auth-page.common-login .auth-pane h1{font-size:27px;letter-spacing:-.6px;line-height:1.2}
.employee-auth-page.common-login .auth-description{font-size:12px;line-height:1.8;color:#75657d;margin-top:10px}
.employee-auth-page.common-login #login{gap:17px;margin-top:24px}
.employee-auth-page.common-login .auth-pane #login>label{font-size:12px;gap:7px;font-weight:550}
.employee-auth-page.common-login .auth-input input{background:#fdfbfe;border-color:#dfd2e5;border-radius:9px;height:48px}
.employee-auth-page.common-login .auth-input>img{top:16px}
.employee-auth-page.common-login .password-toggle{top:2px;right:2px;width:44px;height:44px}
.employee-auth-page.common-login .auth-check{font-size:12px;min-height:44px}
.employee-auth-page.common-login .auth-row .link{font-size:12px;min-height:44px}
.employee-auth-page.common-login .auth-pane .primary{min-height:48px;border-radius:10px;background:#713275;border-color:#713275}
.common-login .social-button{border-radius:9px;min-height:46px;font-size:12px}
.common-login .auth-switch{margin-top:20px;font-size:11px;color:#6e5c77}
.common-login .auth-divider{margin:20px 0 14px;font-size:11px}
.common-login :is(button,a,input):focus-visible{outline:3px solid #8c55a2;outline-offset:3px}
.common-login .auth-dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border-radius:18px}
.common-login .auth-dialog .close{width:44px;height:44px;top:8px;right:8px}
.common-login .auth-dialog h2{margin-right:36px}
@media(max-width:900px){
  .employee-auth-page .elart-auth-hero{height:auto;min-height:0;display:flex;padding:30px 28px 40px;gap:24px}
  .auth-page .elart-auth-hero img.auth-hero-logo.corporate-logo{width:154px;height:auto}
  .employee-auth-page .elart-auth-hero .auth-hero-copy{margin:0;max-width:100%}
  .employee-auth-page .elart-auth-hero .auth-hero-copy h2{font-size:32px;letter-spacing:-1px}
  .employee-auth-page .elart-auth-hero .auth-hero-copy p{max-width:32ch;font-size:12px;margin-top:12px}
  .auth-hero-eyebrow{margin-bottom:12px;font-size:8px}
  .elart-auth-hero .auth-brand-decoration{width:310px;height:310px;right:-125px;top:20px;opacity:.1}
  .elart-auth-hero .auth-workspaces,.elart-auth-hero .auth-hero-footer{display:none}
  .employee-auth-page.common-login{display:block;padding:24px 16px}
  .employee-auth-page.common-login .auth-shell{display:block;max-width:520px;min-height:0;height:auto}
  .employee-auth-page.common-login .auth-pane{display:block;padding:28px;overflow:visible;margin-top:-18px;border-radius:20px 20px 0 0;position:relative}
  .common-login .auth-tagline{font-size:22px;margin-bottom:20px}
  .employee-auth-page.common-login .auth-input input{font-size:16px}
}
@media(max-width:540px){
  .employee-auth-page.common-login{padding:0;background:#fff}
  .employee-auth-page.common-login .auth-shell{border:0;border-radius:0;box-shadow:none}
  .employee-auth-page .elart-auth-hero{padding:28px 24px 38px}
  .employee-auth-page.common-login .auth-pane{padding:26px 24px 32px}
  .common-login .auth-tagline{font-size:21px}
}
@media(max-width:360px){
  .employee-auth-page .elart-auth-hero{padding:24px 20px 36px}
  .employee-auth-page .elart-auth-hero .auth-hero-copy h2{font-size:30px}
  .employee-auth-page.common-login .auth-pane{padding:24px 20px 28px}
  .employee-auth-page.common-login .auth-pane h1{font-size:25px}
  .common-login .auth-dialog-header,.common-login .auth-dialog-body{padding:18px 16px}
  .common-login .auth-dialog .otp{gap:5px}
}
@media(prefers-reduced-motion:reduce){.common-login *,.common-login *::before,.common-login *::after,.elart-auth-hero *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.auth-workspaces li,.auth-workspace-symbol{border:1px solid CanvasText}.auth-page img.auth-hero-logo.corporate-logo[src*="/brand-"],.auth-workspace-symbol img{filter:none}.common-login .auth-pane .primary{border:1px solid ButtonText}}

/* R22: restore the pre-R20 woman illustration without changing the form pane. */
.employee-auth-page .auth-hero.auth-hero-restored{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:20px;padding:32px 40px 28px;background:#71337d}
.employee-auth-page .auth-hero-restored .auth-hero-copy{margin:0;max-width:380px}
.employee-auth-page .auth-hero-restored .auth-hero-copy h2{font-size:40px;line-height:1.15}
.employee-auth-page .auth-hero-restored .auth-hero-copy p{font-size:15px;margin-top:16px}
.employee-auth-page .auth-hero-restored .auth-illustration{position:static;display:block;align-self:center;justify-self:center;width:100%;height:100%;min-height:160px;max-height:360px;aspect-ratio:1448/1086;object-fit:contain}
@media(max-width:900px){
  .employee-auth-page .auth-hero.auth-hero-restored{display:block;height:286px;padding:20px 28px 38px}
  .employee-auth-page .auth-hero-restored .auth-hero-copy{margin-top:14px;max-width:50%}
  .employee-auth-page .auth-hero-restored .auth-hero-copy h2{font-size:26px}
  .employee-auth-page .auth-hero-restored .auth-hero-copy p{font-size:12px;line-height:1.5;margin-top:10px;max-width:150px}
  .employee-auth-page .auth-hero-restored .auth-illustration{position:absolute;right:4px;bottom:30px;width:47%;height:auto;min-height:0;max-height:190px;object-position:bottom right}
}
@media(max-width:540px){.employee-auth-page .auth-hero.auth-hero-restored{padding-left:22px;padding-right:22px}}
@media(max-width:360px){.employee-auth-page .auth-hero.auth-hero-restored{padding-left:16px;padding-right:16px}.employee-auth-page .auth-hero-restored .auth-hero-copy h2{font-size:23px}.employee-auth-page .auth-hero-restored .auth-illustration{right:2px;width:46%}}
