.um-wrap {
  position: relative;
  display: inline-block;
  font-family: inherit;
}

.um-trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: transparent;
  border: 1px solid #13447b;
  border-radius: 6px;
  padding: 5px 0;
  font-size: 14px;
  cursor: pointer;
  color: inherit;
  line-height: 1;
  outline-width:0px;
  outline-style: none;
}

.um-trigger:hover { background: #f3f4f6; }

.um-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.um-icon { width: 16px; height: 16px; }
.um-caret { width: 12px; height: 12px; transition: transform .2s; }
.um-trigger[aria-expanded="true"] .um-caret { transform: rotate(180deg); }

.um-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  padding: 5px;
  z-index: 9999;
}

.um-dropdown[hidden] { display: none; }

.um-header {
  padding: 5px;
  border-bottom: 1px solid #f1f1f1;
  margin-bottom: 4px;
}

.um-signed-in {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 1px;
}

.um-email {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.um-item {
  display: contents;
  padding: 5px;
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  transition: background .1s;
  outline-width:0px;
  outline-style: none;
}

.um-item:hover { background: #f9fafb; }
.um-item--danger { color: #dc2626; }
.um-item--danger:hover { background: #fef2f2; }

.um-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 0;
}