/* Yousuccess authentication v2 — scoped to its own screens. */
.ys-auth, .ys-auth * {box-sizing:border-box}
.ys-auth{--ys-burgundy:#771832;--ys-burgundy-dark:#541123;--ys-ink:#1e2636;--ys-muted:#536174;--ys-border:#d3d9e2;--ys-paper:#fff;--ys-ring:#a32953;color:var(--ys-ink);font-family:inherit;font-size:1rem;line-height:1.5}
.ys-auth-page{margin:0;background:#f3f5f8;color:#1e2636;}
.ys-auth--standalone{min-height:100svh;display:grid;place-items:center;padding:clamp(16px,3.5vw,44px)}
.ys-auth--embedded{padding:clamp(20px,4vw,60px) 16px;margin-inline:auto;max-width:1250px}
.ys-auth__shell{display:grid;grid-template-columns:minmax(0,0.91fr) minmax(0,1.09fr);width:min(100%,1050px);min-height:610px;margin-inline:auto;background:var(--ys-paper);border:1px solid #e0e4eb;border-radius:18px;overflow:hidden;box-shadow:0 18px 48px rgba(26,33,48,.09)}
.ys-auth__brand{position:relative;display:flex;flex-direction:column;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 85% 65%,#b04662 0%,transparent 40%),linear-gradient(146deg,#651328,#81233f 56%,#661327);color:#fff;padding:clamp(26px,3.5vw,45px)}
.ys-auth__brand::after{content:"";position:absolute;inset:auto -22% -33% 7%;height:72%;background:radial-gradient(ellipse,#ecb2bc55,transparent 68%);z-index:-1}
.ys-auth__brandmark{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;color:#fff!important;text-decoration:none!important;font-weight:750;font-size:1.35rem;letter-spacing:-.035em}
.ys-auth__brandmark:hover{color:#fff}
.ys-auth__brandmark-symbol{width:35px;height:35px;display:grid;place-items:center;border:1.5px solid #ffffffb8;border-radius:50%;font-size:1rem;font-weight:800}
.ys-auth__brandcopy{position:relative;z-index:1;margin-block:clamp(48px,7vw,110px) 38px;max-width:360px}
.ys-auth__eyebrow{font-size:.72rem!important;font-weight:700!important;letter-spacing:.13em;color:#f5d8e0!important;margin-bottom:14px!important}
.ys-auth__brand h2{font-family:inherit;color:#fff!important;font-size:clamp(1.9rem,3vw,2.7rem)!important;font-weight:750!important;letter-spacing:-.038em;line-height:1.15;margin:0 0 18px}
.ys-auth__brandcopy>p:not(.ys-auth__eyebrow){font-size:1rem;color:#f9e3e9!important;line-height:1.65;margin-bottom:24px}
.ys-auth__benefits{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.ys-auth__benefits li{position:relative;padding-left:25px;color:#fff!important;font-weight:530;font-size:.94rem;line-height:1.45}
.ys-auth__benefits li::before{content:'✓';position:absolute;left:0;top:0;color:#fff;font-weight:800}
.ys-auth__brand-art{display:flex;align-items:flex-end;gap:10px;min-height:85px;margin-top:auto;padding:0 20px 14px;opacity:.8}
.ys-auth__brand-art span{width:23%;height:50px;background:#ffffff1f;border:1px solid #ffffff55;border-radius:12px;transform:rotate(-11deg)}
.ys-auth__brand-art span:nth-child(2){height:79px;transform:rotate(5deg)}
.ys-auth__brand-art span:nth-child(3){height:55px;transform:rotate(15deg)}
.ys-auth__brand-footer{font-size:.78rem;color:#f7d9e1!important;position:relative;z-index:1;margin:22px 0 0}
.ys-auth__main{display:flex;align-items:center;justify-content:center;min-width:0;padding:clamp(24px,4vw,52px);background:#fff}
.ys-auth__inner{width:100%;max-width:420px;min-width:0;margin-inline:auto}
.ys-auth h1{font-family:inherit;font-size:clamp(1.5rem,2.2vw,1.9rem)!important;font-weight:750!important;line-height:1.25;letter-spacing:-.025em;color:var(--ys-ink)!important;margin:0 0 8px}
.ys-auth__overline{font-size:.76rem!important;font-weight:750!important;letter-spacing:.09em;color:var(--ys-burgundy)!important;margin:0 0 9px}
.ys-auth__description{font-size:.94rem;color:var(--ys-muted)!important;line-height:1.55;margin:0 0 24px}
.ys-auth__intro{margin-bottom:19px}
.ys-auth__back{display:inline-flex;align-items:center;font-size:.88rem;font-weight:650;color:var(--ys-ink)!important;margin-bottom:24px;text-decoration:none}
.ys-auth__back:hover{text-decoration:underline}
.ys-auth__socials{display:grid;gap:10px;margin-block:16px 20px}
.ys-auth__social{display:flex;align-items:center;justify-content:center;position:relative;gap:13px;min-height:46px;padding:9px 12px;border:1px solid var(--ys-border);border-radius:9px;text-decoration:none!important;color:var(--ys-ink)!important;font-weight:680;font-size:.94rem;background:#fff;transition:background .16s ease,border-color .16s ease}
.ys-auth__social:hover{background:#f8f8fa;border-color:#a7b0bd;color:var(--ys-ink)}
.ys-auth__social img{position:absolute;left:15px;object-fit:contain;max-width:22px;max-height:22px}
.ys-auth__separator{display:flex;align-items:center;gap:12px;margin:23px 0 22px;color:#687587!important;font-size:.8rem;text-align:center;white-space:nowrap}
.ys-auth__separator::before,.ys-auth__separator::after{content:"";height:1px;background:#dce1e8;flex:1}
.ys-auth__workspace{border:0;padding:0;margin:0 0 20px;min-width:0}
.ys-auth__workspace legend{font:inherit;color:var(--ys-ink);font-size:.85rem;font-weight:700;margin-bottom:8px;float:none;width:auto;padding:0}
.ys-auth__workspace-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.ys-auth__workspace-choice{display:block;margin:0;position:relative;cursor:pointer}
.ys-auth__workspace-choice input{position:absolute;width:1px;height:1px;opacity:0}
.ys-auth__workspace-choice span{display:grid;place-items:center;min-height:42px;padding:8px 4px;text-align:center;border:1px solid var(--ys-border);border-radius:8px;font-size:.85rem;font-weight:650;line-height:1.2;background:white;color:#384354}
.ys-auth__workspace-choice input:checked+span{border-color:var(--ys-burgundy);background:#f9edf1;color:var(--ys-burgundy)}
.ys-auth__workspace-choice input:focus-visible+span{outline:3px solid var(--ys-ring);outline-offset:2px}
.ys-auth__field,.ys-auth .form-group{margin-bottom:17px;min-width:0}
.ys-auth__field label,.ys-auth .form-group-label,.ys-auth__label-row label{display:block;font-size:.88rem!important;font-weight:680!important;line-height:1.4;color:var(--ys-ink)!important;margin:0 0 7px}
.ys-auth__label-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px}
.ys-auth__label-row label{margin-bottom:0}
.ys-auth__label-row a{font-size:.83rem}
.ys-auth__field input:not([type=checkbox]):not([type=radio]),.ys-auth .form-control,.ys-auth .register-mobile-form-group__input{width:100%;max-width:100%;min-height:46px;border:1px solid var(--ys-border);border-radius:8px;background:#fff;color:var(--ys-ink);padding:10px 13px;font-family:inherit!important;font-size:.93rem!important;font-weight:500!important;line-height:1.4;box-shadow:none}
.ys-auth__field input::placeholder,.ys-auth .form-control::placeholder{color:#667484;opacity:1}
.ys-auth__field input:focus,.ys-auth .form-control:focus{outline:2px solid var(--ys-ring);outline-offset:1px;border-color:var(--ys-burgundy);box-shadow:none}
.ys-auth__field-error,.ys-auth .invalid-feedback{display:block;font-size:.81rem;color:#a40e34;line-height:1.5;margin-top:6px}
.ys-auth__remember{display:inline-flex;align-items:center;gap:8px;font-size:.87rem;color:var(--ys-ink);font-weight:510;margin-bottom:19px;cursor:pointer}
.ys-auth__remember input{width:17px;height:17px;accent-color:var(--ys-burgundy)}
.ys-auth__primary,.ys-auth .ys-auth__submit{display:block;width:100%;min-height:46px;padding:11px 16px;border:1px solid var(--ys-burgundy);border-radius:8px;background:var(--ys-burgundy)!important;color:#fff!important;font-family:inherit;font-weight:700!important;font-size:.95rem!important;line-height:1.4;text-align:center;cursor:pointer}
.ys-auth__primary:hover,.ys-auth .ys-auth__submit:hover{background:var(--ys-burgundy-dark)!important}
.ys-auth__switch{font-size:.9rem;text-align:center;color:var(--ys-muted)!important;margin:24px 0 0}
.ys-auth a:not(.ys-auth__social):not(.ys-auth__brandmark):not(.ys-auth__back){color:var(--ys-burgundy);font-weight:650;text-underline-offset:2px}
.ys-auth a:focus-visible,.ys-auth button:focus-visible,.ys-auth summary:focus-visible{outline:3px solid var(--ys-ring);outline-offset:3px}
.ys-auth__notice{border:1px solid #d8c7cf;background:#f8f0f2;border-radius:8px;padding:11px 13px;margin:16px 0;color:var(--ys-ink);font-size:.88rem;line-height:1.5}
.ys-auth__notice--error{border-color:#d7a4af;background:#fff2f4;color:#8e1637}
.ys-auth__rocket-form .auth-page-form-container{height:auto!important;max-height:none!important;overflow:visible!important;padding-right:0!important}
.ys-auth__rocket-form .form-group{position:relative}
.ys-auth__rocket-form .form-group>.password-input-visibility,.ys-auth__visibility{position:absolute;right:10px;bottom:12px;border:0;background:transparent;color:#647184;padding:3px;display:grid;place-items:center;cursor:pointer;z-index:2}
.ys-auth__rocket-form .form-group>.password-input-visibility .d-none{display:none!important}
.ys-auth__rocket-form input[type=password]{padding-right:47px!important}
.ys-auth .auth-register-method-item label{min-height:42px;font-size:.9rem;font-weight:650}
.ys-auth .auth-register-method-item input:focus-visible+label{outline:3px solid var(--ys-ring);outline-offset:1px}
.ys-auth .custom-control__label{font-size:.88rem;line-height:1.55;color:var(--ys-ink)}
.ys-auth .custom-control__label a{font-size:inherit}
.ys-auth .auth-verification-code-field{width:100%;max-width:100%;min-width:0;border:1px solid var(--ys-border);border-radius:8px;min-height:48px;text-align:center;font-size:1.2rem;color:var(--ys-ink)}
.ys-auth .js-auth-mobile-container .row{align-items:center}
.ys-auth .select2-container{max-width:100%}
.ys-auth__form-footer{padding-top:5px}
.ys-auth__captcha{margin:20px 0}
@media (max-width:820px){.ys-auth__shell{grid-template-columns:1fr;min-height:0;max-width:650px}.ys-auth__brand{padding:19px 25px 22px}.ys-auth__brandcopy{margin:20px 0 0}.ys-auth__brand h2{font-size:1.55rem!important;margin-bottom:7px}.ys-auth__benefits,.ys-auth__brand-art,.ys-auth__brand-footer{display:none}.ys-auth__brandcopy>p:not(.ys-auth__eyebrow){margin:0;font-size:.88rem}.ys-auth__eyebrow{margin-bottom:4px!important}.ys-auth__main{padding:clamp(23px,5.5vw,45px)}}
@media (max-width:430px){.ys-auth--standalone{padding:0;display:block}.ys-auth--embedded{padding:16px 10px}.ys-auth__shell{border-radius:0;border:0;box-shadow:none}.ys-auth--embedded .ys-auth__shell{border:1px solid #e1e4eb;border-radius:12px}.ys-auth__main{padding:24px 20px 34px}.ys-auth__brand{padding:19px 20px}.ys-auth__workspace-choice span{font-size:.77rem;padding:6px 2px}.ys-auth__brandcopy>p:not(.ys-auth__eyebrow){display:none}.ys-auth__brandcopy{margin-bottom:0}.ys-auth__social img{left:10px}}
@media (prefers-reduced-motion:reduce){.ys-auth *, .ys-auth *::before,.ys-auth *::after{transition:none!important;animation:none!important}}

/* v2.1: Login-specific viewport refinements. Never affect admin login routes or other auth pages. */
.ys-auth--login .ys-auth__description{margin-bottom:10px}
.ys-auth--login .ys-auth__overline{margin-bottom:4px}
.ys-auth--login h1{font-size:clamp(1.5rem,2vw,1.85rem)!important;margin-bottom:4px}
.ys-auth--login .ys-auth__socials{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0 10px}
.ys-auth--login .ys-auth__social{min-height:44px;gap:7px;padding:8px 7px;font-size:.8rem;line-height:1.3}
.ys-auth--login .ys-auth__social img{position:static;flex:0 0 19px;width:19px;height:19px}
.ys-auth--login .ys-auth__separator{margin:10px 0 12px}
.ys-auth--login .ys-auth__workspace{margin-bottom:11px}
.ys-auth--login .ys-auth__workspace legend{margin-bottom:5px}
.ys-auth--login .ys-auth__workspace-choice span{min-height:44px}
.ys-auth--login .ys-auth__field{margin-bottom:10px}
.ys-auth--login .ys-auth__field label{margin-bottom:5px}
.ys-auth--login .ys-auth__label-row{margin-bottom:5px}
.ys-auth--login .ys-auth__label-row label{margin-bottom:0}
.ys-auth--login .ys-auth__field input:not([type=checkbox]):not([type=radio]){min-height:44px}
.ys-auth--login .ys-auth__remember{margin-bottom:10px}
.ys-auth--login .ys-auth__primary{min-height:44px}
.ys-auth--login .ys-auth__switch{margin-top:12px}
.ys-auth--login .ys-auth__brand{padding:clamp(20px,2.4vw,32px)}
.ys-auth--login .ys-auth__brandcopy{margin-block:clamp(22px,4vh,40px) 14px}
.ys-auth--login .ys-auth__brand h2{font-size:clamp(1.65rem,2.3vw,2.2rem)!important;margin-bottom:10px}
.ys-auth--login .ys-auth__brandcopy>p:not(.ys-auth__eyebrow){margin-bottom:12px;line-height:1.45}
.ys-auth--login .ys-auth__benefits{gap:9px}
.ys-auth--login .ys-auth__brand-art{min-height:50px;padding-bottom:5px}
.ys-auth--login .ys-auth__brand-footer{margin-top:10px}
@media (min-width:821px){
  .ys-auth--login.ys-auth--standalone{height:100svh;height:100dvh;min-height:0;padding:clamp(10px,2vh,20px);overflow:hidden}
  .ys-auth--login .ys-auth__shell{min-height:0;height:100%;max-height:760px}
  .ys-auth--login .ys-auth__main{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:clamp(12px,2.3vh,26px) clamp(20px,3vw,38px)}
}
@media (min-width:821px) and (max-height:800px){
  .ys-auth--login .ys-auth__brand-art{display:none}
  .ys-auth--login .ys-auth__brand-footer{margin-top:auto}
}
@media (min-width:821px) and (max-height:590px){
  .ys-auth--login.ys-auth--standalone{height:auto;min-height:100svh;min-height:100dvh;overflow:visible}
  .ys-auth--login .ys-auth__shell{height:auto;max-height:none}
  .ys-auth--login .ys-auth__main{overflow:visible}
}
@media (max-width:820px){
  .ys-auth--login.ys-auth--standalone{display:flex;align-items:center;justify-content:center;height:auto;min-height:100svh;min-height:100dvh;padding:clamp(8px,2vw,18px);overflow:visible}
  .ys-auth--login .ys-auth__shell{height:auto;min-height:0;max-height:none;width:min(100%,650px)}
  .ys-auth--login .ys-auth__brand{padding:12px 20px}
  .ys-auth--login .ys-auth__brandcopy,.ys-auth--login .ys-auth__brand-art,.ys-auth--login .ys-auth__brand-footer{display:none}
  .ys-auth--login .ys-auth__main{padding:clamp(16px,3vw,26px)}
}
@media (max-width:620px){
  .ys-auth--login .ys-auth__socials{grid-template-columns:1fr;gap:7px}
  .ys-auth--login .ys-auth__social{font-size:.9rem}
  .ys-auth--login .ys-auth__main{padding:16px clamp(16px,4vw,24px) 20px}
  .ys-auth--login .ys-auth__workspace-choice span{font-size:.82rem}
}
@media (max-width:620px) and (max-height:730px){
  .ys-auth--login .ys-auth__overline{display:none}
  .ys-auth--login .ys-auth__description{margin-bottom:8px}
  .ys-auth--login .ys-auth__separator{margin:7px 0 9px}
  .ys-auth--login .ys-auth__switch{margin-top:8px}
}
@media (max-width:430px){
  .ys-auth--login.ys-auth--standalone{padding:0}
  .ys-auth--login .ys-auth__shell{border:0;border-radius:0;box-shadow:none}
}

/* V2.2: exact Yousuccess supplied logos.  Scope to auth only. */
.ys-auth__brandmark {
  display:flex; align-items:center; justify-content:center;
  align-self:stretch; width:100%; margin-inline:auto;
  min-height:72px; text-align:center;
}
.ys-auth__brand-logo {
  display:block; width:min(100%,256px); height:auto;
  max-height:72px; object-fit:contain; object-position:center;
}
.ys-auth__form-logo {
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 5px; padding:0; line-height:0;
}
.ys-auth__form-logo img {
  display:block; width:min(100%,190px); height:auto;
  max-height:35px; object-fit:contain; object-position:center;
}
@media(min-width:821px) and (max-height:700px) {
  .ys-auth--login .ys-auth__form-logo img {width:min(100%,172px);max-height:30px}
  .ys-auth--login .ys-auth__form-logo{margin-bottom:4px}
  .ys-auth--login .ys-auth__overline{display:none}
  .ys-auth--login .ys-auth__brandmark{min-height:60px}
  .ys-auth--login .ys-auth__brand-logo{width:min(100%,230px);max-height:60px}
}
@media(max-width:820px) {
  .ys-auth__brandmark {min-height:0}
  .ys-auth__brand-logo {width:min(100%,210px);max-height:56px}
  .ys-auth__form-logo {display:none}
}
@media(max-width:430px) {
  .ys-auth__brand-logo {width:min(100%,190px);max-height:50px}
}


/* Yousuccess auth v2.3: ONE brand logo, left aligned; full-viewport account screens. */
.ys-auth__brandmark.ys-auth__brandmark {
    align-self:flex-start;justify-content:flex-start;text-align:left;
    width:auto;max-width:100%;min-height:0;margin:0;padding:0;
}
.ys-auth__brand-logo.ys-auth__brand-logo {
    display:block;width:clamp(156px,19vw,238px);height:auto;max-height:70px;
    object-fit:contain;object-position:left center;margin:0;
}
.ys-auth__form-logo {display:none!important;}
.ys-auth__main .ys-auth__inner {min-width:0;max-width:440px;}
.ys-auth__main .ys-auth__rocket-form {width:100%;min-width:0;}
.ys-auth__main .ys-auth__rocket-form .form-group,
.ys-auth__main .ys-auth__rocket-form .js-auth-email-container {min-width:0;max-width:100%;}
/* The LMS theme's global header and footer are rendered by the original app layout.
   Keep its scripts intact, but place the auth experience in a fully independent viewport layer.
   Any short screen remains vertically scrollable instead of clipping form controls. */
.ys-auth--embedded.ys-auth--embedded {
    position:fixed!important;inset:0!important;z-index:2147483640;
    display:flex;align-items:center;justify-content:center;
    width:100%;max-width:none;min-height:0;max-height:none;
    margin:0!important;padding:clamp(10px,2.5vh,24px) clamp(10px,2vw,22px)!important;
    overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
    background:#f3f5f8;box-sizing:border-box;
}
body:has(.ys-auth--embedded) {overflow:hidden!important;}
.ys-auth--embedded .ys-auth__shell {
    width:min(100%,1050px);max-width:1050px;min-height:min(610px,calc(100dvh - 32px));
    height:auto;max-height:none;margin:auto;
}
.ys-auth--embedded .ys-auth__main {min-height:0;padding:clamp(22px,3vw,40px);}
.ys-auth--embedded .ys-auth__brand {padding:clamp(22px,3vw,38px);}
.ys-auth--embedded .ys-auth__brandcopy {margin-block:clamp(32px,5vh,76px) 20px;}
.ys-auth--embedded .ys-auth__intro {margin-bottom:14px;}
.ys-auth--embedded .ys-auth__back {margin-bottom:14px;}
.ys-auth--embedded .ys-auth__description {margin-bottom:14px;}
.ys-auth--embedded .ys-auth__rocket-form .form-group {margin-bottom:14px;}
.ys-auth--embedded .ys-auth__rocket-form .auth-page-form-container {padding-top:0!important;margin-top:0!important;}
.ys-auth--embedded .ys-auth__switch {margin-top:14px;}
.ys-auth--embedded .ys-auth__submit {margin-top:12px!important;}
/* Tablet and phone: the branded header is compact and never collides with the form. */
@media (max-width:820px) {
    .ys-auth--embedded.ys-auth--embedded {display:block;padding:clamp(8px,2vw,14px)!important;}
    .ys-auth--embedded .ys-auth__shell {grid-template-columns:minmax(0,1fr);width:min(100%,650px);min-height:0;max-width:650px;max-height:none;margin-inline:auto;}
    .ys-auth--embedded .ys-auth__brand {padding:14px clamp(16px,4vw,26px);}
    .ys-auth--embedded .ys-auth__brandcopy, .ys-auth--embedded .ys-auth__brand-art, .ys-auth--embedded .ys-auth__brand-footer {display:none!important;}
    .ys-auth--embedded .ys-auth__main {padding:clamp(18px,3vw,28px);}
    .ys-auth__brand-logo.ys-auth__brand-logo {width:clamp(160px,34vw,208px);max-height:52px;}
}
@media (max-width:430px) {
    .ys-auth--embedded.ys-auth--embedded {padding:0!important;}
    .ys-auth--embedded .ys-auth__shell {border:0;border-radius:0;box-shadow:none;width:100%;min-height:100dvh;grid-template-rows:max-content minmax(0,1fr);}
    .ys-auth--embedded .ys-auth__brand {padding:13px 18px;}
    .ys-auth--embedded .ys-auth__main {padding:20px clamp(16px,5vw,24px) 30px;}
    .ys-auth--embedded .ys-auth__intro {margin-bottom:10px;}
    .ys-auth--embedded .ys-auth__back {margin-bottom:12px;}
    .ys-auth--embedded .ys-auth__description {margin-bottom:12px;}
    .ys-auth__brand-logo.ys-auth__brand-logo {width:176px;max-height:48px;}
}
@media (max-height:570px) and (min-width:821px) {
    .ys-auth--embedded .ys-auth__shell {min-height:0;}
    .ys-auth--embedded .ys-auth__brand-art {display:none;}
}


/* V2.4: compact, base-user registration, isolated from LMS public theme chrome. */
.ys-auth--registration .ys-auth__shell {min-height:0;}
.ys-auth--registration .ys-auth__main {padding:clamp(14px,2.5vw,34px);min-width:0;}
.ys-auth--registration .ys-auth__inner {max-width:440px;}
.ys-auth--registration .ys-auth__intro {margin:0 0 10px;}
.ys-auth--registration .ys-auth__intro h1 {margin:0 0 3px;}
.ys-auth--registration .ys-auth__back {margin-bottom:8px;}
.ys-auth--registration .ys-auth__description {margin:0 0 10px;}
.ys-auth--registration .ys-auth__socials {grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0;gap:7px;}
.ys-auth--registration .ys-auth__social {min-height:40px;font-size:.82rem;gap:7px;padding:7px;}
.ys-auth--registration .ys-auth__social img {position:static;width:17px;height:17px;flex:0 0 17px;}
.ys-auth--registration .ys-auth__separator {margin:7px 0 10px;}
.ys-auth--registration .ys-auth__workspace {margin:0 0 10px;}
.ys-auth--registration .ys-auth__workspace legend {margin-bottom:5px;}
.ys-auth--registration .ys-auth__workspace-choice span {min-height:40px;}
.ys-auth--registration .ys-auth__role-note {font-size:.78rem;color:var(--ys-muted);line-height:1.35;margin:6px 0 0;}
.ys-auth--registration .ys-auth__form-fields {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;row-gap:9px;}
.ys-auth--registration .ys-auth__form-fields .form-group {margin:0;min-width:0;}
.ys-auth--registration .ys-auth__form-fields .form-group-label {margin-bottom:4px!important;font-size:.84rem!important;}
.ys-auth--registration .ys-auth__form-fields .form-control {height:42px;min-height:42px;max-width:100%;}
.ys-auth--registration .ys-auth__mobile-required {grid-column:1/-1;min-width:0;}
.ys-auth--registration .ys-auth__mobile-note {font-size:.8rem;line-height:1.4;color:var(--ys-muted);margin:0 0 5px;}
.ys-auth--registration .ys-auth__mobile-required .row {margin-left:0;margin-right:0;}
.ys-auth--registration .ys-auth__mobile-required .form-group {margin:0;}
.ys-auth--registration .ys-auth__accept {margin:13px 0 11px;}
.ys-auth--registration .ys-auth__accept label {display:flex;gap:9px;align-items:flex-start;font-weight:500;font-size:.83rem;line-height:1.5;cursor:pointer;}
.ys-auth--registration .ys-auth__accept input {flex:0 0 17px;height:17px;width:17px;margin:2px 0 0;accent-color:var(--ys-burgundy);}
.ys-auth--registration .ys-auth__primary {min-height:43px;}
.ys-auth--registration .ys-auth__switch {margin:8px 0 0;}
.ys-auth--registration .ys-auth__optional-details {margin:10px 0;color:var(--ys-ink);font-size:.83rem;}
.ys-auth--registration .ys-auth__optional-details summary {cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.ys-auth--registration .ys-auth__optional-details[open] {padding:10px;border:1px solid var(--ys-border);border-radius:8px;}
.ys-auth--registration .ys-auth__optional-details .js-form-fields-card {margin-top:12px;}
.ys-auth--registration .ys-auth__captcha {margin-top:10px;}
.ys-auth--registration .ys-auth__brandcopy {margin-block:clamp(24px,5vh,70px) 18px;}
.ys-auth--registration .ys-auth__brand-art {min-height:40px;}
@media (min-width:821px) and (max-height:750px) {
  .ys-auth--registration .ys-auth__brand-art {display:none;}
  .ys-auth--registration .ys-auth__brand-footer {margin-top:auto;}
  .ys-auth--registration .ys-auth__brandcopy {margin-block:clamp(18px,4vh,34px) 12px;}
}
@media (max-width:820px) {
  .ys-auth--registration .ys-auth__brandcopy,
  .ys-auth--registration .ys-auth__brand-art,
  .ys-auth--registration .ys-auth__brand-footer {display:none!important;}
  .ys-auth--registration .ys-auth__main {padding:clamp(15px,3vw,26px);}
  .ys-auth--registration .ys-auth__shell {min-height:0;}
}
@media (max-width:520px) {
  .ys-auth--registration .ys-auth__form-fields {grid-template-columns:minmax(0,1fr);row-gap:9px;}
  .ys-auth--registration .ys-auth__socials {grid-template-columns:minmax(0,1fr);}
  .ys-auth--registration .ys-auth__main {padding:16px 18px 26px;}
  .ys-auth--registration .ys-auth__form-fields .form-control {height:44px;min-height:44px;}
  .ys-auth--registration .ys-auth__brand {padding:12px 18px;}
  .ys-auth--registration .ys-auth__role-note {font-size:.76rem;}
  .ys-auth--registration .ys-auth__workspace-choice span {font-size:.78rem;}
  .ys-auth--registration .ys-auth__intro h1 {font-size:1.5rem!important;}
}

/* Tablet and phone: first select workspace/sign-up method, then display the form. */
.ys-auth--registration .ys-auth__continue-email,
.ys-auth--registration .ys-auth__step-back {display:none;}
.ys-auth--registration .ys-auth__step-back {border:0;background:none;color:var(--ys-burgundy);font-size:.85rem;font-weight:650;padding:0;margin:0 0 10px;text-align:left;cursor:pointer;}
@media (max-width:820px) {
  .ys-auth--registration:not(.ys-auth--registration--details) .ys-auth__form-step {display:none;}
  .ys-auth--registration.ys-auth--registration--details .ys-auth__choice-step {display:none;}
  .ys-auth--registration.ys-auth--registration--details .ys-auth__socials,
  .ys-auth--registration.ys-auth--registration--details .ys-auth__separator {display:none;}
  .ys-auth--registration:not(.ys-auth--registration--details) .ys-auth__continue-email {display:block;min-height:43px;margin-top:12px;}
  .ys-auth--registration.ys-auth--registration--details .ys-auth__step-back {display:block;}
}
