/* SmartersWeb Tech Mail 3.6.8: short-page footer + contextual 404 recovery.
   Scoped public overrides only. Does not modify auth, mail, analytics or support. */
:root{--mh368-header-height:70px}
html{min-height:100%}
body.public-body{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  margin:0;
  overflow-x:clip;
}
body.public-body>.public-header{flex:0 0 auto; width:100%}
/* Older 3.3.1 CSS gives .public-shell min-height:100vh without flex.
   It left white space UNDER the footer on short pages. */
body.public-body>.public-shell{
  flex:1 0 auto;
  min-height:0!important;
  width:100%;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
}
body.public-body>.public-shell>.public-main{
  flex:1 0 auto;
  min-height:0;
  width:100%;
  box-sizing:border-box;
}
body.public-body>.public-shell>.public-footer{
  flex:0 0 auto;
  margin-top:auto;
  background:#0A172A;
  color:#d5e5f4;
  row-gap:24px;
}
body.public-body .public-footer p{
  color:#bdcee3!important;
  opacity:1!important;
  line-height:1.65;
  font-size:13px;
  max-width:560px;
}
body.public-body .public-footer small{
  color:#b8cde3;
  opacity:1;
  line-height:1.5;
}
body.public-body .public-footer a{color:#e1edf9; text-underline-offset:3px}
body.public-body .public-footer a:hover,body.public-body .public-footer a:focus-visible{color:#fff}
body.public-body .public-footer div:nth-child(2){align-items:start;align-content:start;flex-wrap:wrap;gap:12px 22px}
/* First-class error state on public and signed-in screens. */
.mh368-notfound{
  width:min(100% - 36px,740px);
  box-sizing:border-box;
  margin:clamp(34px,7vh,82px) auto;
  padding:clamp(24px,4vw,46px);
  border:1px solid #dce7f2;
  background:linear-gradient(150deg,#fff 30%,#f2f8fd 100%);
  border-radius:20px;
  box-shadow:0 18px 55px rgba(12,35,61,.075);
  color:#172a43;
  text-align:center;
}
.mh368-error-icon{
  display:grid;place-items:center;
  width:64px;height:64px;
  margin:0 auto 18px;
  border-radius:17px;
  background:#dff6ff;
  color:#075b82;
  font-size:22px;
  font-weight:850;
  letter-spacing:.045em;
}
.mh368-notfound .mh368-error-eyebrow{color:#176f97;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;margin:0 0 12px}
.mh368-notfound h1{font-size:clamp(1.5rem,3.4vw,2.35rem);letter-spacing:-.045em;line-height:1.16;margin:0 0 12px;color:#102640}
.mh368-notfound .mh368-error-description{font-size:14px;line-height:1.75;color:#526782;margin:0 auto 20px;max-width:540px}
.mh368-notfound .mh368-path{
  display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:7px;
  margin:0 auto 22px;font-size:12px;color:#5b7391;
}
.mh368-notfound .mh368-path code{
  display:inline-block;max-width:100%;padding:6px 10px;
  background:#edf3f9;border:1px solid #d6e4ef;
  border-radius:7px;overflow-wrap:anywhere;
  font-size:12px;color:#233d5d;
}
.mh368-notfound .mh368-error-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 0 23px}
.mh368-notfound .mh368-error-actions :is(a,button){
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;min-width:135px;padding:10px 18px;
  border-radius:10px;font-size:13px;line-height:1.25;
  font-weight:750;text-decoration:none;cursor:pointer;
  box-sizing:border-box;
}
.mh368-notfound .mh368-error-actions .button.secondary{
  background:#fff;color:#1b425e;border:1px solid #c9dbe9;
  box-shadow:none;
}
.mh368-notfound .mh368-recovery-links{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  padding-top:18px;gap:10px 20px;
  border-top:1px solid #dbe7f2;
}
.mh368-notfound .mh368-recovery-links a{
  color:#0b638f;font-size:12.5px;font-weight:650;text-decoration:none;
}
.mh368-notfound .mh368-recovery-links a:hover{text-decoration:underline}
.mh368-notfound :is(a,button):focus-visible{outline:3px solid #00AEEF;outline-offset:3px}
:root[data-mailhub-theme="dark"] body.app-body .mh368-notfound{
  background:#142a3e;border-color:#36536e;color:#eaf2fa
}
:root[data-mailhub-theme="dark"] body.app-body .mh368-notfound h1{color:#eef7ff}
:root[data-mailhub-theme="dark"] body.app-body .mh368-notfound .mh368-error-description{color:#b9cfe5}
@media(max-width:760px){
  body.public-body .public-header{position:relative}
  body.public-body>.public-shell>.public-footer{gap:17px;padding:28px 18px}
  body.public-body .public-footer div:nth-child(2){gap:14px 20px}
  body.public-body .public-footer small{padding-top:18px}
  .mh368-notfound{width:calc(100% - 26px);margin:28px auto 40px;border-radius:16px;padding:26px 18px}
  .mh368-notfound .mh368-error-actions :is(a,button){width:100%}
}
@media(prefers-reduced-motion:reduce){.mh368-notfound *{scroll-behavior:auto!important;transition:none!important}}
