/* Site header auth — sign in / account menu (home, dashboard, etc.) */
.wxmap-site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 8px;
}
.wxmap-site-header-brand {
  flex: 1 1 200px;
  min-width: 0;
}
.wxmap-site-header-brand h1 {
  margin: 0;
}
.wxmap-site-header-brand p {
  margin: 4px 0 0;
}
.wxmap-auth-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
}
.wxmap-auth-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #004080;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.wxmap-auth-signin:hover {
  background: #f8f9fa;
  border-color: #c6c9cc;
}
.wxmap-auth-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px 4px 4px;
  border-radius: 24px;
  border: 1px solid #dadce0;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: #222;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.wxmap-auth-user-btn:hover {
  background: #f8f9fa;
}
.wxmap-auth-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #004080;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wxmap-auth-email {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
}
@media (max-width: 480px) {
  .wxmap-auth-email {
    display: none;
  }
}
.wxmap-auth-chevron {
  font-size: 0.65rem;
  color: #666;
  margin-right: 4px;
}
.wxmap-auth-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 10060;
  padding: 8px 0;
}
.wxmap-auth-menu.open {
  display: block;
}
.wxmap-auth-menu-header {
  padding: 8px 16px 10px;
  border-bottom: 1px solid #eee;
  font-size: 0.82rem;
  color: #555;
  word-break: break-all;
}
.wxmap-auth-menu-header strong {
  display: block;
  color: #222;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.wxmap-auth-menu a,
.wxmap-auth-menu button.wxmap-auth-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: none;
  background: none;
  color: #222;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.wxmap-auth-menu a:hover,
.wxmap-auth-menu button.wxmap-auth-menu-item:hover {
  background: #f0f7ff;
}
.wxmap-auth-menu .wxmap-auth-tier {
  font-size: 0.78rem;
  color: #1b7f3b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wxmap-auth-menu .wxmap-auth-tier.free {
  color: #666;
}
.wxmap-auth-menu-divider {
  height: 1px;
  background: #eee;
  margin: 6px 0;
}
