/* Quiet shared website footer. App routes do not load this stylesheet. */
.site-footer .footer-identity { display: grid; gap: 4px; }
.site-footer .footer-publisher { margin: 0; font-size: .78rem; line-height: 1.6; }
.site-footer .footer-publisher a { color: inherit; text-underline-offset: .2em; }
.site-footer .footer-trademark { margin: 0; color: var(--mt-muted); font-size: .72rem; line-height: 1.45; }
@media screen and (forced-colors: none) {
  .mt-page .site-footer {
    --mt-ink: #243a50;
    --mt-muted: #425b74;
    --mt-focus: #174a91;
    --mt-link-active: #153b79;
    background: #e6edf4;
    color: var(--mt-ink);
    border-top: 1px solid #bccbda;
  }
  .mt-page .site-footer .footer-bottom {
    min-height: 144px;
    padding-block: 36px;
    align-items: center;
    gap: 24px 40px;
  }
  .mt-page .site-footer .mt-shell {
    width: min(1120px,calc(100% - 96px));
  }
  .mt-page .site-footer .mt-wordmark {
    color: #243a50;
    font-size: 1.4rem;
    letter-spacing: -.045em;
  }
  .mt-page .site-footer .footer-bottom nav {
    align-items: center;
    gap: 6px 28px;
  }
  .mt-page .site-footer .footer-bottom nav a {
    min-height: 44px;
    color: #425b74;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.5;
    text-underline-offset: .25em;
  }
  .mt-page .site-footer a:focus-visible {
    color: #153b79;
    outline-color: #174a91;
  }
  /* Document and error footers retain their compact, contextual role. */
  .mt-page.policy-page .policy-content footer {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #b7c7d7;
    color: #425b74;
    font-size: .9rem;
  }
  .mt-page.policy-page .policy-content footer .footer-trademark { margin-top: 8px; font-size: .76rem; }
  .mt-page.policy-page .policy-footer-links { gap: 6px 28px; }
  .mt-page.policy-page .policy-footer-links a {
    min-height: 44px;
    font-size: .92rem;
    font-weight: 500;
  }
  .mt-page.recovery-page .recovery-main footer {
    padding-top: 28px;
    border-top: 1px solid #8ba0b4;
    color: #dbe6f2;
    font-size: .95rem;
    line-height: 1.65;
  }
  @media (hover: hover) {
    .mt-page .site-footer a:hover { color: #153b79; }
  }
  @media (max-width: 56.25em) {
    .mt-page .site-footer .mt-shell { width: calc(100% - 48px); }
  }
  @media (max-width: 37.5em) {
    .mt-page .site-footer .footer-bottom {
      min-height: 0;
      flex-direction: column;
      align-items: flex-start;
      gap: 18px;
      padding-block: 30px 34px;
    }
    .mt-page .site-footer .footer-bottom nav {
      display: grid;
      grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr));
      width: 100%;
      gap: 4px 24px;
    }
    .mt-page .site-footer .footer-bottom nav a {
      width: fit-content;
      max-width: 100%;
    }
  }
}
