/* CourtesyLink brand: light lockup for the portal, teal lockup for account pages. */
.cl-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
  border-radius: 4px;
}
.cl-brand:focus-visible { outline: 3px solid #79d4dc; outline-offset: 6px; }
.cl-brand img { display: block; width: 260px; max-width: 100%; height: auto; }
.sidebar > .cl-brand { display: flex; width: 100%; margin: 0; }
.sidebar > .cl-brand img { width: 100%; }
.sidebar > .cl-brand + .sidebar-label {
  margin: 28px 0 17px;
  padding: 22px 10px 0;
  border-top: 1px solid #ffffff22;
}
.login-page { background: #f4f8fa; }
.login-intro { background: #0c5262; }
.login-header .cl-brand { max-width: calc(100% - 125px); }
@media (max-width: 720px) {
  .sidebar > .cl-brand { width: 220px; max-width: 100%; }
  .sidebar > .cl-brand + .sidebar-label { display: none; }
}
@media (max-width: 640px) {
  .login-header { flex-wrap: wrap; gap: 12px; }
  .login-header .cl-brand { max-width: 100%; }
  .login-header .cl-brand img { width: 235px; }
  .login-header .header-label { font-size: 9px; }
}

/* Public policy links, including on staff account pages. */
.legal-links { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; line-height: 1.5; padding: 4px 0; }
.legal-links a:focus-visible { outline: 3px solid #087b89; outline-offset: 4px; border-radius: 2px; }
.login-footer { flex-wrap: wrap; }
@media (max-width: 640px) { .login-footer .legal-links { width: 100%; justify-content: flex-start; } }
