.palette-tab {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  color: rgb(156 163 175);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.palette-tab:hover {
  color: rgb(229 231 235);
  background: rgba(255, 255, 255, 0.05);
}

.palette-tab.active {
  color: rgb(199 210 254);
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
}

.palette-results {
  min-height: 120px;
}

.palette-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(107 114 128);
  padding: 10px 16px 6px;
}

.palette-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-left: 2px solid transparent;
}

.palette-row:hover,
.palette-row.selected {
  background: rgba(99, 102, 241, 0.08);
  border-left-color: rgb(99 102 241);
}

.palette-row-title {
  font-size: 13px;
  font-weight: 600;
  color: rgb(243 244 246);
}

.palette-row-subtitle {
  font-size: 11px;
  color: rgb(156 163 175);
  margin-top: 2px;
}

.palette-row-snippet {
  font-size: 11px;
  color: rgb(107 114 128);
  margin-top: 4px;
  line-height: 1.4;
}

.palette-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: lowercase;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgb(209 213 219);
  white-space: nowrap;
}

.palette-empty {
  padding: 32px 16px;
  text-align: center;
  color: rgb(107 114 128);
  font-size: 13px;
}

.palette-kbd {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgb(55 65 81);
  background: rgb(17 24 39);
  color: rgb(156 163 175);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.palette-mark {
  background: rgba(250, 204, 21, 0.25);
  color: rgb(253 224 71);
  border-radius: 2px;
  padding: 0 2px;
}
