#home-admin-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  font-weight: 600;
  white-space: nowrap;
}

#home-admin-login:hover { color: var(--brand); }

.home-login-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(790px, calc(100% - 26px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 0;
  border: 1px solid #dce6ee;
  border-radius: 18px;
  background: #fff;
  color: #20313c;
  box-shadow: 0 32px 100px #14263852;
}

.home-login-dialog::backdrop { background: #162b4099; backdrop-filter: blur(5px); }
html:has(.home-login-dialog[open]) { overflow: hidden; }

@media (max-width: 410px) {
  .home-page .header-action { gap: 6px; }
  .home-page .site-header .header-action .pill { padding-inline: 9px; white-space: nowrap; }
  .home-page .header-action .pill .arrow { display: none; }
}

@media (max-width: 360px) {
  .home-page .site-header .brand-wordmark { width: 106px; }
}
