.settings-dropdown {
  position: absolute;
  bottom: 0;
  left: 48px;
  width: 220px;
  background: var(--panel-strong, #fffdf9);
  border: 1px solid var(--line, #e6e3dd);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.15s ease-out;
}

.dropdown-header {
  padding: 10px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-header strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-sub {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--line-soft);
  margin: 6px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}

.dropdown-item:hover {
  background-color: var(--bg, #f6f3ee);
  color: var(--accent);
}

.dropdown-item svg {
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.1s;
}

.dropdown-item:hover svg {
  color: var(--accent);
}

.dropdown-item.danger {
  color: #c92a2a;
}

.dropdown-item.danger:hover {
  background-color: #fff5f5;
  color: #c92a2a;
}

.dropdown-item.danger svg {
  color: #c92a2a;
}
