.page {
  max-width: 640px;
  margin: 0 auto;
}

.toolbar {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.toggleRow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hint {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.tagList {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.noRoles {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-body);
}

.addRoleRow {
  display: flex;
  gap: 8px;
  align-items: center;
}

.roleInput {
  width: 200px;
}

.advancedRulesRow {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.advancedRulesInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.advancedRulesLabel {
  font-size: 13px;
  color: var(--text-secondary, var(--text-muted));
}

.advancedRulesCount {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}
