/* AUTH_CONTACT_CARD_PARITY_V1
   Login, registration, password recovery and protected admin login mirror the
   Contact page. Presentation only; forms, CSRF, routes and auth remain intact. */
html body.lms-navigation-v2.page-shell>main.account-page.auth-page.verification-page.auth-visual-page.public-access-page.access-form-page.lms-public-information-page{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:0!important;
  margin:0 auto!important;padding:0 0 clamp(60px,7vw,90px)!important;
  background:transparent!important;
  border:0!important;box-shadow:none!important;
  overflow:visible!important;
}
/* The same full-width editorial hero from Contact remains untouched above it. */
html body.lms-navigation-v2.page-shell>main.account-page.auth-page.access-form-page.lms-public-information-page>section.verification-panel.access-form-shell{
  display:grid!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-content:start!important;justify-items:stretch!important;
  width:var(--lms-content-frame-width,var(--lms-frame-width,min(1100px,calc(100vw - 32px))))!important;
  max-width:calc(100vw - 32px)!important;min-width:0!important;
  min-height:0!important;
  margin:26px auto 38px!important;
  padding:clamp(19px,3vw,32px)!important;
  gap:14px!important;
  background:var(--surface)!important;
  background-image:none!important;
  border:1px solid var(--line)!important;
  border-radius:17px!important;
  color:var(--text)!important;
  box-shadow:none!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .lms-contact-card-heading{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;min-width:0!important;
  margin:0!important;padding:0!important;
  background:transparent!important;
  text-align:left!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .lms-contact-card-heading>.lms-contact-card-eyebrow{
  margin:0!important;
  font-size:11px!important;font-weight:650!important;letter-spacing:.09em!important;
  line-height:1.45!important;color:var(--accent-text,var(--accent))!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .lms-contact-card-heading>h2{
  max-width:none!important;
  margin:0!important;padding:0!important;
  color:var(--text)!important;
  font-size:clamp(23px,2.7vw,30px)!important;
  font-weight:550!important;letter-spacing:-.03em!important;line-height:1.2!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .lms-contact-card-heading>p:last-child{
  margin:0 0 8px!important;max-width:none!important;
  color:var(--muted)!important;font-size:13px!important;line-height:1.55!important;
}
/* Form layout is 2 columns on desktop, as on Contact. Password and secondary
   controls keep their own accessible native labels. */
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page>section.access-form-shell>form.auth-recovery-form{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  gap:13px!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form>label{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;align-content:start!important;
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  margin:0!important;padding:0!important;
  color:var(--text)!important;
  font-size:12px!important;font-weight:550!important;line-height:1.4!important;
  text-align:left!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form>label:has(input[name="password"]):nth-of-type(3){
  grid-column:1/-1!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form>label>small{
  color:var(--muted)!important;font-size:11px!important;font-weight:400!important;
  line-height:1.45!important;margin:0!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form input:not([type="hidden"]){
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  min-height:43px!important;height:43px!important;margin:0!important;
  padding:9px 13px!important;
  border:1px solid var(--line)!important;
  border-radius:8px!important;
  background:var(--bg)!important;
  color:var(--text)!important;
  font:inherit!important;font-size:13px!important;font-weight:450!important;
  box-shadow:none!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form input:focus-visible{
  outline:2px solid color-mix(in srgb,var(--accent) 65%,transparent)!important;
  outline-offset:1px!important;border-color:var(--accent)!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form .password-reveal-control{
  display:block!important;position:relative!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form .password-reveal-control>input{
  padding-right:50px!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form .password-reveal-toggle{
  display:grid!important;place-items:center!important;
  position:absolute!important;top:50%!important;right:5px!important;
  transform:translateY(-50%)!important;
  box-sizing:border-box!important;width:34px!important;height:34px!important;
  min-height:34px!important;min-width:34px!important;
  padding:0!important;margin:0!important;
  border:0!important;background:transparent!important;
  color:var(--muted)!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form :is(.auth-forgot-link,.button.primary),
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form>button[type="submit"]{
  grid-column:1/-1!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form .auth-forgot-link{
  justify-self:end!important;margin:0!important;
  color:var(--muted)!important;font-size:11px!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form>.button.primary{
  box-sizing:border-box!important;width:100%!important;min-height:44px!important;
  margin:0!important;padding:10px 16px!important;
  border-radius:999px!important;
  background:var(--accent)!important;
  color:var(--accent-contrast,#fff)!important;
  font-size:12px!important;font-weight:700!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page>section.access-form-shell :is(.auth-access-notice,.verification-error,.verification-help,.auth-success-visual,.admin-help,.verification-divider,.auth-switch-action){
  box-sizing:border-box!important;width:100%!important;
  max-width:100%!important;min-width:0!important;
  margin-left:0!important;margin-right:0!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page>section.access-form-shell .verification-divider{
  margin-block:4px 0!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page>section.access-form-shell .auth-switch-action{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;padding:8px 15px!important;
  border:1px solid var(--line)!important;
  border-radius:999px!important;background:transparent!important;
  color:var(--text)!important;font-size:12px!important;font-weight:650!important;
  text-decoration:none!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page>section.access-form-shell .auth-switch-action:is(:hover,:focus-visible){
  border-color:var(--accent)!important;
}
html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page>section.access-form-shell .admin-login-help{
  margin:0!important;max-width:none!important;
  font-size:11px!important;line-height:1.6!important;
}
@media(max-width:720px){
  html body.lms-navigation-v2.page-shell>main.account-page.auth-page.access-form-page.lms-public-information-page>section.verification-panel.access-form-shell{
    width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;
    margin:18px auto 30px!important;padding:18px 15px!important;
    border-radius:13px!important;
  }
  html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page>section.access-form-shell>form.auth-recovery-form{
    grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
  }
  html body.lms-navigation-v2.page-shell main.account-page.auth-page.access-form-page .auth-recovery-form>label:has(input[name="password"]):nth-of-type(3){
    grid-column:auto!important;
  }
}


/* Optional Google OAuth uses the existing LeMicrosarthois auth card system. */
html body.lms-navigation-v2 .lms-google-auth-divider{
 display:flex;align-items:center;justify-content:center;gap:14px;width:100%;
 margin:4px 0;color:var(--muted);font-size:12px;
}
html body.lms-navigation-v2 .lms-google-auth-divider:before,
html body.lms-navigation-v2 .lms-google-auth-divider:after{
 content:"";display:block;height:1px;flex:1 1 0;background:var(--line);
}
html body.lms-navigation-v2 a.lms-google-auth-button{
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 gap:10px;min-height:44px;width:100%;padding:10px 12px;
 border:1px solid #747775;border-radius:999px;background:#fff;
 color:#1f1f1f;font:500 14px/20px "Google Sans",Roboto,Arial,sans-serif;
 text-align:center;text-decoration:none;box-shadow:none;transform:none;
}
html[data-theme-resolved="dark"] body.lms-navigation-v2 a.lms-google-auth-button{
 border-color:#8e918f;background:#131314;color:#e3e3e3;
}
html body.lms-navigation-v2 a.lms-google-auth-button:hover{
 border-color:currentColor;
}
html body.lms-navigation-v2 a.lms-google-auth-button:focus-visible{
 outline:2px solid #4285f4;outline-offset:3px;
}
html body.lms-navigation-v2 .lms-google-auth-symbol{
 flex:0 0 18px;height:18px;background:url("google-g.png") center/contain no-repeat;
}
html body.lms-navigation-v2 .guest-action-auth .lms-google-auth-button{margin-top:12px}
