/* 云计算工具页顶栏账号菜单（这些页面没有 dashboard-page-home 作用域） */
.dashboard-account-menu {
  position: relative;
  z-index: 2;
}

.dashboard-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dashboard-account-trigger-caret {
  font-size: 0.82rem;
  color: #6a7890;
}

.dashboard-account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 18;
  display: grid;
  gap: 6px;
  width: min(240px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(23, 33, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(17, 48, 86, 0.14);
  backdrop-filter: blur(16px);
}

.dashboard-account-dropdown-head {
  display: grid;
  gap: 4px;
  padding: 6px 6px 10px;
  border-bottom: 1px solid rgba(23, 33, 51, 0.08);
}

.dashboard-account-dropdown-head strong {
  color: #16365c;
  font-size: 0.98rem;
}

.dashboard-account-dropdown-head span {
  color: #667289;
  font-size: 0.84rem;
  line-height: 1.5;
  word-break: break-word;
}

.dashboard-account-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #33465f;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.dashboard-account-dropdown-item:hover,
.dashboard-account-dropdown-item:focus-visible {
  background: #f3f7fb;
  color: #17467f;
}

@media (max-width: 920px) {
  .dashboard-account-dropdown {
    left: auto;
    right: 0;
  }
}
