/* Authentication has one fixed blue palette in every site section. */
html body #ds-auth-root,
html body #ds-auth-root[data-section] {
  --contour:#4ca3db; --tint:#edf6fb; --action:#176798; --action-hover:#10527c;
}
/* A dedicated registration surface; never affect login dialogs on other pages. */
html.ds-register-page body { background:#f5f7fa!important; padding:0!important; }
html.ds-register-page body #header,
html.ds-register-page body #footer,
html.ds-register-page body .ds-partner-bottom-nav { display:none!important; }
html.ds-register-page body #wrap {
  width:100%!important; max-width:none!important; margin:0!important; padding:0!important;
  min-height:100svh; background:transparent!important;
}
html.ds-register-page body #content {
  box-sizing:border-box; width:100%!important; max-width:none!important; margin:0!important;
  min-height:100svh; padding:clamp(32px,8vh,88px) 20px 40px!important;
  border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
}
html.ds-register-page body > #ds-auth-root { visibility:hidden; }
html.ds-register-page .ds-auth-route-start {
  box-sizing:border-box; width:100%; max-width:480px; margin:0 auto;
  padding:0; border:0; background:transparent; box-shadow:none;
}
html body #ds-auth-root .ds-privacy-consent {
  color:#18232b!important; background:#f4f7fa!important; border-color:#d8e1e8!important;
}
html body #ds-auth-root .ds-privacy-consent a[href] { color:var(--action)!important; }
html body #ds-auth-root input[type=checkbox] { accent-color:var(--action); }
html body #ds-auth-root.is-registration-page #ds-auth-dialog {
  position:relative; inset:auto; margin:0 auto; width:100%; max-width:480px;
  max-height:none; height:auto; overflow:visible; box-shadow:0 8px 28px #18232b0b;
  border-radius:12px; padding:0;
}
html.ds-register-page .ds-register-navigation { display:flex; flex-direction:column; gap:16px; margin:0 0 18px; }
html.ds-register-page .ds-register-logo { align-self:center; color:#18232b!important; font:700 22px/1.3 var(--ds-font,Arial,sans-serif); text-decoration:none!important; border:0!important; }
html.ds-register-page .ds-register-back { align-self:flex-start; display:inline-flex; align-items:center; min-height:32px; color:#5b6b78!important; font:14px/1.5 var(--ds-font,Arial,sans-serif); text-decoration:none!important; border:0!important; }
html.ds-register-page .ds-register-back:hover { color:#176798!important; text-decoration:underline!important; }
html.ds-register-page .ds-register-navigation a:focus-visible { outline:2px solid #176798; outline-offset:4px; border-radius:4px; }
html body #ds-auth-root.is-registration-page .window-top { display:none; }
html body #ds-auth-root.is-registration-page .window-top .close { display:none; }
html body #ds-auth-root.is-registration-page .form-heading { border-radius:10px 10px 0 0; }
html body #ds-auth-root.is-registration-page .form-footer { border-radius:0 0 10px 8px; }
html.ds-register-page body.ds-auth-modal-open { overflow:hidden!important; }
@media(max-width:540px) {
  html.ds-register-page .ds-auth-route-start { margin:0 auto; }
  html.ds-register-page body #content { padding:24px 12px 32px!important; }
  html body #ds-auth-root.is-registration-page .form-heading,
  html body #ds-auth-root.is-registration-page .form-content { padding-left:20px; padding-right:20px; }
  html body #ds-auth-root.is-registration-page .form-footer { margin-left:-20px; margin-right:-20px; }
  html body #ds-auth-root:not(.is-registration-page) #ds-auth-dialog {
    width:calc(100% - 24px);height:fit-content;max-height:calc(100dvh - 24px);
    margin:auto;border-radius:10px;padding:0;
  }
}
