/* VastLinkAI 4.9.1 shared sidebar user card. Workspace switcher remains hidden for personal 1.0. */
.workspace-section,
.sidebar-workspace,
.workspace-card,
.workspace-list,
.project-list {
  display: none !important;
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.user-account-card {
  width: 100%;
  min-width: 0;
  min-height: 66px;
  border-radius: 18px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text, #f8fafc);
  background: linear-gradient(120deg, rgba(75,124,255,.11), rgba(255,255,255,.055));
  border: 1px solid rgba(104,225,253,.18);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.user-account-card:hover {
  border-color: rgba(104,225,253,.36);
  background: linear-gradient(120deg, rgba(75,124,255,.18), rgba(104,225,253,.08));
  transform: translateY(-1px);
}

.user-avatar-mini {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #4b7cff), var(--cyan, #68e1fd));
  box-shadow: 0 12px 30px rgba(75,124,255,.25);
}

.user-meta {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
}

.user-meta strong {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text, #f8fafc);
}

.user-plan-line {
  display: block;
  min-width: 0;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #a9f3ff;
  font-weight: 800;
  line-height: 1.25;
}

.user-meta small {
  display: block;
  min-width: 0;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted, #94a3b8);
  line-height: 1.25;
}

.user-account-card.is-signed-out .user-plan-line {
  display: none;
}