/* Escalar login only. No global theme or mailbox styling. */
body.task-login {
  --escalar-ink: #172c43;
  --escalar-muted: #617185;
  --escalar-blue: #1462cc;
  color: var(--escalar-ink);
  background: #f5f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow: auto;
  height: auto;
  min-height: 100vh;
  color-scheme: light;
}
body.task-login #layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 46%) minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  overflow: visible;
  background: #f5f7fb;
}
body.task-login .escalar-welcome {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4.2vw, 72px);
  color: #fff;
  background: radial-gradient(ellipse at 5% 90%, #1a5268 0, transparent 52%), #102d49;
  overflow: hidden;
}
body.task-login .escalar-brand { display: flex; align-items: center; gap: 12px; }
body.task-login .escalar-brand-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #66839b; border-radius: 13px; color: #fff; }
body.task-login .escalar-brand-icon svg { width: 34px; height: 34px; }
body.task-login .escalar-wordmark { font-size: 29px; line-height: 1; font-weight: 700; letter-spacing: -.9px; }
body.task-login .escalar-wordmark > span { display: block; margin-top: 8px; font-size: 9px; letter-spacing: 3.4px; font-weight: 500; }
body.task-login .escalar-hero-copy { margin-top: auto; padding-top: 64px; }
body.task-login .escalar-eyebrow { margin: 0 0 22px; font-size: 10px; font-weight: 600; letter-spacing: 2.4px; color: #b8cddd; }
body.task-login .escalar-hero-copy h2 { font-size: clamp(38px, 3.7vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -2px; margin: 0 0 24px; color: #fff; }
body.task-login .escalar-hero-copy h2 span { color: #6bdff2; }
body.task-login .escalar-description { color: #c2d3e2; line-height: 1.8; font-size: 15px; margin: 0; }
body.task-login .escalar-art { max-width: 500px; width: calc(100% + 36px); margin: 24px -18px 20px; }
body.task-login .escalar-art svg { display: block; width: 100%; height: auto; }
body.task-login .escalar-side-footer { margin: auto 0 0; padding-top: 12px; font-size: 12px; color: #b8cddd; }
body.task-login #layout-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 70px 48px;
  margin: 0;
  overflow: visible;
  background: #f5f7fb;
  border: 0;
  box-shadow: none;
  text-align: left;
}
body.task-login .escalar-intro, body.task-login #login-form { width: 100%; max-width: 390px; margin-left: auto; margin-right: auto; }
body.task-login .escalar-section-label { display: inline-block; margin-bottom: 18px; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: #366b9c; }
body.task-login .escalar-intro h1 { margin: 0 0 12px; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.2; font-weight: 650; letter-spacing: -1.1px; color: var(--escalar-ink); }
body.task-login .escalar-intro > p { margin: 0 0 36px; font-size: 15px; color: var(--escalar-muted); }
body.task-login #login-form { position: static; inset: auto; transform: none; padding: 0; margin-top: 0; margin-bottom: 0; text-align: left; }
body.task-login #login-form table, body.task-login #login-form tbody { display: block; width: 100%; }
body.task-login #login-form tr.form-group { display: block; width: 100%; margin: 0 0 21px; }
body.task-login #login-form td.title { display: block !important; width: 100%; padding: 0 0 8px; text-align: left; }
body.task-login #login-form td.title label { display: block; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #30475f; }
body.task-login #login-form td.input { display: flex; width: 100%; padding: 0; border: 1px solid #c7d3e0; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
body.task-login #login-form .input-group:focus-within { border-color: var(--escalar-blue); box-shadow: 0 0 0 3px #1462cc20; }
body.task-login #login-form .input-group-prepend { margin: 0; }
body.task-login #login-form .input-group-text { background: transparent; border: 0; border-radius: 10px 0 0 10px; width: 45px; padding: 0; justify-content: center; color: #74889e; font-size: 15px; }
body.task-login #login-form .form-control, body.task-login #login-form .custom-select { height: 54px; min-width: 0; padding: 12px 14px 12px 0; font-size: 16px; line-height: 1.5; color: #172c43; background-color: #fff; border: 0; border-radius: 0 10px 10px 0; box-shadow: none; }
body.task-login #login-form .form-control::placeholder { color: #718397; opacity: 1; }
body.task-login #login-form input:-webkit-autofill { -webkit-text-fill-color: #172c43; box-shadow: 0 0 0 1000px #eef5ff inset; }
body.task-login #login-form .formbuttons { margin: 28px 0 0; padding: 0; }
body.task-login #rcmloginsubmit { display: block; width: 100%; min-height: 54px; height: auto; margin: 0; border: 1px solid #1462cc; border-radius: 10px; padding: 13px 22px; background: #1462cc; color: #fff; box-shadow: 0 6px 14px #1462cc19; text-transform: none !important; font-family: inherit; font-size: 16px; font-weight: 600; letter-spacing: .1px; transition: background .15s, box-shadow .15s; }
body.task-login #rcmloginsubmit::before { display: none; }
body.task-login #rcmloginsubmit::after { content: "\2192"; float: right; font-family: inherit; font-size: 20px; line-height: 1.2; font-weight: 400; }
body.task-login #rcmloginsubmit:hover { background: #0e51b0; border-color: #0e51b0; box-shadow: 0 7px 20px #1462cc2c; }
body.task-login #rcmloginsubmit:focus-visible { outline: 3px solid #1462cc; outline-offset: 4px; }
body.task-login #rcmloginsubmit:disabled { opacity: .65; cursor: wait; }
body.task-login .escalar-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 22px 0 0; color: #617185; font-size: 12px; }
body.task-login .escalar-security svg { width: 17px; height: 17px; flex-shrink: 0; }
body.task-login #login-footer { position: static; padding: 27px 0 0; margin-top: 30px; border-top: 1px solid #dee5ee; color: #6b7b8e; text-align: center; font-size: 11px; line-height: 1.6; }
body.task-login #login-footer a { color: #165ab4; }
body.task-login .escalar-mobile-brand { display: none; }
body.task-login #messagestack { z-index: 1000; }
body.task-login #login-form .escalar-password-group { position: relative; }
body.task-login #login-form .escalar-password-group .form-control { padding-right: 52px; border-radius: 0 10px 10px 0; }
body.task-login #escalar-password-toggle { position: absolute; right: 5px; top: 5px; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 10px; border: 0; border-radius: 7px; background: transparent; color: #617185; cursor: pointer; box-shadow: none; }
body.task-login #escalar-password-toggle:hover { background: #eaf1fa; color: #1462cc; }
body.task-login #escalar-password-toggle:focus-visible { outline: 2px solid #1462cc; outline-offset: -2px; background: #eaf1fa; }
body.task-login #escalar-password-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
body.task-login #escalar-password-toggle .escalar-eye-open { display: none; }
body.task-login #escalar-password-toggle[aria-pressed="true"] .escalar-eye-open { display: block; }
body.task-login #escalar-password-toggle[aria-pressed="true"] .escalar-eye-closed { display: none; }
body.task-login #rcmloginpwd::-ms-reveal, body.task-login #rcmloginpwd::-ms-clear { display: none; }
@media (min-width: 821px) and (max-height: 740px) {
  body.task-login .escalar-welcome { padding-top: 30px; padding-bottom: 28px; }
  body.task-login .escalar-hero-copy { padding-top: 42px; }
  body.task-login .escalar-art { max-width: 370px; margin-top: 12px; margin-bottom: 8px; }
  body.task-login #layout-content { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 820px) {
  body.task-login #layout { display: block; }
  body.task-login .escalar-welcome { display: none; }
  body.task-login #layout-content { padding: 42px 28px 34px; justify-content: center; border-top: 5px solid #1462cc; }
  body.task-login .escalar-mobile-brand { display: block; width: 100%; max-width: 390px; margin: 0 auto 52px; color: #16334e; }
  body.task-login .escalar-mobile-brand .escalar-brand-icon { background: #16334e; border-color: #16334e; }
  body.task-login .escalar-intro h1 { font-size: 30px; }
  body.task-login .escalar-intro > p { margin-bottom: 30px; }
  body.task-login .escalar-section-label { margin-bottom: 14px; }
  body.task-login #login-footer { padding-top: 22px; margin-top: 25px; }
}
@media (max-width: 360px) {
  body.task-login #layout-content { padding-left: 22px; padding-right: 22px; }
  body.task-login .escalar-intro h1 { font-size: 27px; }
  body.task-login .escalar-mobile-brand { margin-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  body.task-login #login-form * { transition: none !important; }
}
