.app-shell {
  height: 100dvh;
  min-height: 0;
}
main {
  height: 100dvh;
  min-height: 0;
}
.mail-panel {
  min-height: 0;
}
.topbar,
.page-heading,
.page-footer,
.mail-controls,
.list-toolbar,
.list-footer {
  flex-shrink: 0;
}
#message-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
button.mobile-menu {
  display: none;
}
.login-top:before {
  content: none;
}
.login-dialog,
.login-dialog[open] {
  width: min(480px, 94vw);
  max-width: 480px;
}
.login-dialog[open] {
  display: block;
}
#login-form {
  gap: 1.25rem;
}
.login-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
.login-top {
  margin-bottom: 2rem;
}
#turnstile-widget {
  min-height: 65px;
  width: 100%;
}
#turnstile-widget[data-widget-size="compact"] {
  min-height: 140px;
}
#turnstile-status {
  font-size: 0.65rem !important;
  margin-top: -0.8rem;
}
#turnstile-status:empty {
  display: none;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0;
  text-decoration: underline;
}
.turnstile-fallback-link {
  font-size: 0.7rem !important;
  margin-top: -0.5rem;
}
.legacy-verification-panel[hidden] {
  display: none;
}
.legacy-verification-panel {
  border: 1px solid #fbbf24;
  border-radius: 0.5rem;
  background: #fffbeb;
  padding: 0.75rem;
}
.legacy-verification-heading,
.legacy-verification-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}
.legacy-verification-heading {
  margin-bottom: 0.5rem;
}
.status-pill.orange {
  display: inline-block;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
}
.legacy-verification-row input {
  flex: 1;
  min-width: 0;
}
.legacy-captcha-image-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}
.legacy-captcha-image-button img {
  width: 120px;
  height: 40px;
  border-radius: 0.375rem;
}
.row-check {
  cursor: pointer;
}
.message-open {
  cursor: pointer;
}
.brand-light {
  font-weight: 350;
}
.reader-toolbar {
  flex-wrap: wrap;
}
.drawer::backdrop {
  background: #101b2b22;
  backdrop-filter: blur(1px);
}
@media (max-width: 480px) {
  .topbar .breadcrumb {
    display: none;
  }
}
@media (max-width: 700px) {
  button.mobile-menu {
    display: inline-flex;
  }
  .login-top:before {
    content: none;
  }
  .login-dialog,
  .login-dialog[open] {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
  .login-form-wrap {
    min-height: 100%;
    justify-content: center;
    padding: 1.3rem 1.5rem;
  }
  .login-top {
    margin-bottom: 1.3rem;
  }
  .page-heading {
    padding-top: 1.4rem;
    padding-bottom: 1.1rem;
  }
  .page-footer > span {
    display: none;
  }
  .page-footer {
    justify-content: flex-end;
    padding: 0.8rem 1rem;
  }
  .reader-toolbar {
    padding: 0.7rem;
  }
  .list-footer {
    display: none;
  }
  .login-form-wrap #login-form {
    gap: 1rem;
  }
}

#search-scope-notice {
  margin: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}
