.vvm-assign {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vvm-assign__header h1 {
  margin: 0 0 .25rem;
}

.vvm-assign__filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem 1rem;
  background: #f7f7f7;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
  align-items: end;
}

.vvm-assign__filter label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #555;
  margin-bottom: .25rem;
}

.vvm-assign__filter input[type="text"],
.vvm-assign__filter select {
  width: 100%;
  padding: .4rem .5rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: .9rem;
}

.vvm-assign__filter--checkbox label {
  font-weight: normal;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: 0;
}

.vvm-assign__filter--actions {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.vvm-assign__clear {
  font-size: .85rem;
  color: #666;
  text-decoration: underline;
}

.vvm-assign__count {
  font-size: .9rem;
  color: #555;
  margin: 1rem 0;
}

.vvm-assign__group {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.vvm-assign__user {
  padding: .75rem 1rem;
  background: #f3f7fb;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
}

.vvm-assign__user-main strong {
  font-size: 1.05rem;
}

.vvm-assign__email {
  color: #555;
  margin-left: .5rem;
  font-size: .9rem;
}

.vvm-assign__user-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #555;
}

.vvm-assign__user-meta code {
  background: #fff;
  padding: .05rem .35rem;
  border-radius: 2px;
  border: 1px solid #ddd;
}

.vvm-assign__user-meta a {
  color: #0073aa;
}

.vvm-assign__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.vvm-assign__table th,
.vvm-assign__table td {
  text-align: left;
  padding: .55rem .75rem;
  border-bottom: 1px solid #f0f0f0;
}

.vvm-assign__table th {
  background: #fafafa;
  font-weight: 600;
}

.vvm-assign__table tbody tr:last-child td {
  border-bottom: 0;
}

.vvm-assign__table code {
  font-family: SFMono-Regular, "Menlo", "Monaco", "Consolas", monospace;
  font-size: .9rem;
  background: #f7f7f7;
  padding: .1rem .35rem;
  border-radius: 2px;
}

.vvm-assign__row--archived {
  background: #fcfcfc;
  color: #999;
}

.vvm-assign__row--archived code {
  text-decoration: line-through;
}

.vvm-assign__actions-cell {
  white-space: nowrap;
}

.vvm-assign__action {
  display: inline-block;
  padding: .25rem .65rem;
  font-size: .8rem;
  border-radius: 3px;
  text-decoration: none;
  margin-right: .35rem;
  border: 1px solid transparent;
}

.vvm-assign__action--recycle {
  color: #155724;
  background: #e8f5ee;
  border-color: #b6e0c4;
}
.vvm-assign__action--recycle:hover {
  background: #d4edda;
}

.vvm-assign__action--archive {
  color: #721c24;
  background: #fdecea;
  border-color: #f1c4c4;
}
.vvm-assign__action--archive:hover {
  background: #f8d7da;
}

.vvm-assign__archived-pill {
  display: inline-block;
  padding: .15rem .55rem;
  background: #e0e0e0;
  color: #555;
  border-radius: 12px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
